Skip to content

v5.0.0 - Stylelint 17

Latest

Choose a tag to compare

@thibaudcolas thibaudcolas released this 09 Mar 15:52
· 6 commits to main since this release

5.0.0 (2026-03-09)

Features

  • Update stylelint to v17 and up.
  • Update all config dependencies to their latest releases, compatible with stylelint v17.
  • Switch from selector-class-pattern to scss/selector-class-pattern to retain resolveNestedSelectors support (removed from built-in rule in Stylelint 17).
  • Experimental: new upgrading stylelint AI skill to help automating upgrades of Stylelint and-or shared configurations.

Please share feedback about agent skills if you use this on projects!

BREAKING CHANGES

The configuration now mandates stylelint v17. This release migrates to ESM (ECMAScript modules) and requires Node.js 20.19.0 or newer. See Stylelint's official Migrating to 17.0.0 documentation.

Rules configuration changes

Rule Purpose Set to Was set to
selector-class-pattern Specify a pattern for class selectors null (disabled) Hyphenated BEM
scss/selector-class-pattern Specify a pattern for class selectors, with SCSS nesting support Hyphenated BEM + resolveNestedSelectors: true N/A -replaces selector-class-pattern
no-duplicate-selectors Built-in rule null (disabled) true

New unused rules