npm / stylelint-scss
stylelint-scss
What changed in stylelint-scss 4 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
11 breaking7 new APIs and options4 behavior and defaults2 tooling10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstylelint-scss 722 changes
Breaking changes 8
Added stylelint@^18.0.0 as a peer dependency.
The deprecated rule was removed.
The deprecated rule was removed.
The deprecated rule was removed.
The deprecated rule was removed.
The package changed to ES Modules.
Support for Node.js versions below 20.19.0 was removed.
stylelint@^17.0.0 was added as a peer dependency.
New APIs and options 3
Added support for languageOptions.syntax.
Adds a rule that reports disallowed functions in at-rule parameters.
The selector-class-pattern rule was added.
Behavior and default changes 4
Autofix now supports Sass functions in custom properties.
The rule now supports postcss-scss.
The rule now supports postcss-scss.
The rule was updated to be in sync with the latest stylelint version.
Fixes and other changes 7
Fixed a false positive on multi-word values.
Fixes autofix behavior for bare @at-root blocks.
Fixes handling of imported variables in custom properties.
Allows sass() conditions in CSS-style if() expressions.
Fixes a false positive for @use 'dir/_' as alias-with-hyphen.
Fixes a false positive for CSS type() function arguments.
Fixed CJS/ESM interop for the import used by operator-no-unspaced, enabling Bun compatibility.
stylelint-scss 610 changes
Breaking changes 2
The peer dependency version is updated to ^16.8.2, required by the autofix callback.
Removes support for stylelint 14 and stylelint 15.
New APIs and options 4
Checks disallowed functions inside
@returnexpressions.Supports arguments in custom messages.
Adds a rule to handle mixin calls with content block arguments.
Adds a check for CSS custom properties and an autofix.
Tooling 1
Adds support for stylelint 16.
Fixes and other changes 3
Reports namespaced variables in custom properties.
Fixes a false positive for variables already inside interpolation.
Prevents a TypeError for dynamically created nodes.
stylelint-scss 42 changes
Breaking changes 1
Support for stylelint@13 was removed.
Tooling 1
Support for stylelint@14 was added.