NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3779 most downloaded on npm
Standard shareable config for Stylelint
Last release 8 months ago
15 Jan 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 52 of 52 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
53 releases · first in 2016
Removed: stylelint less than 17.0.0 from peer dependencies.
stylelint less than 17.0.0 from peer dependencies.20.19.0.stylelint-config-recommended@18.0.0.Fixed: layer-name-pattern false positives for dot notation.
layer-name-pattern false positives for dot notation.One column per quarter.
Removed: stylelint less than 16.23.0 from peer dependencies.
stylelint less than 16.23.0 from peer dependencies.stylelint-config-recommended@17.0.0.block-no-redundant-nested-style-rules rule.Removed: stylelint less than 16.18.0 from peer dependencies.
stylelint less than 16.18.0 from peer dependencies.stylelint-config-recommended@16.0.0.color-function-alias-notation: "without-alpha" rule.container-name-pattern (kebab-case with optional -- prefix) rule.layer-name-pattern (kebab-case) rule.Removed: stylelint less than 16.13.0 from peer dependencies.
stylelint less than 16.13.0 from peer dependencies.stylelint-config-recommended@15.0.0.Fixed: missing funding field in package.json.
funding field in package.json.Removed: stylelint less than 16.1.0 from peer dependencies.
stylelint less than 16.1.0 from peer dependencies.lightness-notation: "percentage" rule.Removed: stylelint less than 16.0.0 from peer dependencies.
stylelint less than 16.0.0 from peer dependencies.18.12.0 support.stylelint-config-recommended@14.0.0.Removed: stylelint less than 15.10.0 from peer dependencies
stylelint less than 15.10.0 from peer dependenciesstylelint-config-recommended@13.0.0.Removed: stylelint less than 15.5.0 from peer dependencies.
stylelint less than 15.5.0 from peer dependencies.stylelint-config-recommended@12.0.0.declaration-block-single-line-max-declarations removed on 30.0.0.Removed: stylelint less than 15.4.0 from peer dependencies.
stylelint less than 15.4.0 from peer dependencies.media-feature-range-notation: "context" ruleRemoved: stylelint less than 15.3.0 from peer dependencies.
stylelint less than 15.3.0 from peer dependencies.stylelint-config-recommended@11.0.0Fixed: updated to `stylelint-config-recommended@10.0.1`
stylelint-config-recommended@10.0.1Removed: 64 rules deprecated in `stylelint@15.0.0`. For details, see the migration guide.
stylelint less than 15.0.0 from peer dependencies.stylelint@15.0.0. For details, see the migration guide.length-zero-no-unit to ignore custom properties.value-no-vendor-prefix to ignore -webkit-inline-box.Removed: stylelint less than 14.14.0 from peer dependencies.
stylelint less than 14.14.0 from peer dependencies.import-notation to be "url".*-pattern rules.value-no-vendor-prefix to ignore -webkit-box.Removed: stylelint less than 14.11.0 from peer dependencies.
stylelint less than 14.11.0 from peer dependencies.alpha-value-notation to be "number" for SVG *-opacity properties.Removed: stylelint less than 14.10.0 from peer dependencies.
stylelint less than 14.10.0 from peer dependencies.stylelint-config-recommended@9.0.0keyframe-selector-notation rule.Removed: stylelint less than 14.9.0 from peer dependencies.
stylelint less than 14.9.0 from peer dependencies.stylelint-config-recommended@8.0.0import-notation rule.selector-not-notation rule.Removed: stylelint less than 14.4.0 from peer dependencies.
stylelint less than 14.4.0 from peer dependencies.stylelint-config-recommended@7.0.0Changed: alpha-value-notation to be "number" for opacity property.
alpha-value-notation to be "number" for opacity property.This release adds over a dozen new rules.
This release adds over a dozen new rules.
If needed, you can extend the config to turn off or lower the severity of any of the new rules.
We recommend using Autoprefixer to automatically prefix your at-rules, properties, selectors and values.
stylelint less than 14.0.0 from peer dependencies.stylelint-config-recommended@6.0.0.alpha-value-notation rule.at-rule-no-vendor-prefix rule.color-function-notation rule.custom-media-pattern rule.custom-property-pattern rule.declaration-block-no-redundant-longhand-properties rule.font-family-name-quotes rule.function-url-quotes rule.hue-degree-notation rule.keyframes-name-pattern rule.max-line-length rule.media-feature-name-no-vendor-prefix rule.no-empty-first-line rule.no-irregular-whitespace rule.number-max-precision rule.property-no-vendor-prefix rule.selector-attribute-quotes rule.selector-class-pattern rule.selector-id-pattern rule.selector-no-vendor-prefix rule.shorthand-property-no-redundant-values rule.string-quotes rule.value-no-vendor-prefix rule.Nothing published for this version
Removed: stylelint less than 13.13.0 from peer dependencies.
stylelint less than 13.13.0 from peer dependencies.stylelint-config-recommended@5.0.0Removed: stylelint less than 13.12.0 from peer dependencies.
stylelint less than 13.12.0 from peer dependencies.stylelint-config-recommended@4.0.0Added: value-keyword-case rule.
value-keyword-case rule.Removed: stylelint < 10.1.0 from peer dependencies. stylelint@10.1.0+ is required now.
stylelint < 10.1.0 from peer dependencies. stylelint@10.1.0+ is required now.stylelint-config-recommended@3.0.0.Added: stylelint@10 to peer dependency range.
stylelint@10 to peer dependency range.Added: stylelint-config-recommended@2.1.0 as dependency
stylelint-config-recommended@2.1.0 as dependencyAdded: stylelint@9 to peer dependency range.
stylelint@9 to peer dependency range.Changed: updated to `stylelint-config-recommended@2.0.0`.
stylelint-config-recommended@2.0.0.Changed: now extends `stylelint-config-recommended`, which turns on the at-rule-no-unknown rule. Therefore, if you use non-standard at-rules, like tho
stylelint-config-recommended, which turns on the at-rule-no-unknown rule. Therefore, if you use non-standard at-rules, like those introduced in SCSS and Less (e.g. @extends, @includes etc), be sure to extend the config and make use of at-rule-no-unknown's ignoreAtRules: [] secondary option.Changed: replaced the deprecated rule-nested-empty-line-before and rule-non-nested-empty-line-before rules with the rule-empty-line-before rule.
rule-nested-empty-line-before and rule-non-nested-empty-line-before rules with the rule-empty-line-before rule.Fixed: URLs to stylelint rules within README.
Removed: declaration-block-no-ignored-properties rule.
declaration-block-no-ignored-properties rule.media-feature-no-missing-punctuation rule.selector-no-empty rule.font-family-no-duplicate-names rule.- Added: selector-no-empty rule.
selector-no-empty rule.Fixed: the ignore: ["consecutive-duplicates-with-different-values" optional secondary option was wrongly assigned to declaration-block-no-ignored-prop
ignore: ["consecutive-duplicates-with-different-values" optional secondary option was wrongly assigned to declaration-block-no-ignored-properties.Fixed: declaration-block-no-duplicate-properties now uses the ignore: ["consecutive-duplicates-with-different-values" optional secondary option.
declaration-block-no-duplicate-properties now uses the ignore: ["consecutive-duplicates-with-different-values" optional secondary option.Added: declaration-block-no-duplicate-properties rule.
declaration-block-no-duplicate-properties rule.declaration-block-no-redundant-longhand-properties rule.media-feature-name-no-unknown rule.property-no-unknown rule.selector-descendant-combinator-no-non-space rule.value-list-max-empty-lines rule.Changed: at-rule-empty-line-before now uses the blockless-after-same-name-blockless except option, rather than the blockless-group one.
at-rule-empty-line-before now uses the blockless-after-same-name-blockless except option, rather than the blockless-group one.block-closing-brace-empty-line-before rule.comment-no-empty rule.custom-property-empty-line-before rule.declaration-empty-line-before rule.media-feature-name-case rule.rule-nested-empty-line-before rule.Removed: at-rule-no-unknown rule.
at-rule-no-unknown rule.media-feature-parentheses-space-inside rule.no-missing-eof-newline rule.indentation no longer uses the indentInsideParens: "once" option, as this is the default behaviour in stylelint@7.0.0.media-feature-parentheses-space-inside rule.no-missing-end-of-source-newline rule.Changed: indentation now uses the indentInsideParens: "once" option.
indentation now uses the indentInsideParens: "once" option.at-rule-no-unknown rule.no-empty-source rule.Removed: number-zero-length-no-unit rule.
number-zero-length-no-unit rule.length-zero-no-unit rule.Added: keyframe-declaration-no-important rule.
keyframe-declaration-no-important rule.selector-pseudo-class-no-unknown rule.selector-type-no-unknown rule.Added: at-rule-name-space-after rule.
at-rule-name-space-after rule.function-max-empty-lines rule.no-extra-semicolons rule.selector-attribute-brackets-space-inside rule.selector-attribute-operator-space-after rule.selector-attribute-operator-space-before rule.selector-max-empty-lines rule.selector-pseudo-class-parentheses-space-inside rule.selector-pseudo-element-no-unknown rule.shorthand-property-no-redundant-values rule.Added: at-rule-semicolon-newline-after rule.
at-rule-name-case rule.at-rule-semicolon-newline-after rule.function-name-case rule.property-case rule.selector-pseudo-class-case rule.selector-pseudo-element-case rule.selector-type-case rule.unit-case rule.unit-no-unknown rule.Removed: font-family-name-quotes, function-url-quotes and string-quotes rules.
font-family-name-quotes, function-url-quotes and string-quotes rules.declaration-block-no-ignored-properties rule.Fixed: include peerDependencies in package.json to expose compatibility.
package.json to expose compatibility.Removed: stylelint < 4.5.0 compatibility.
stylelint < 4.5.0 compatibility.font-family-name-quotes rule with "double-where-recommended" option.function-linear-gradient-no-nonstandard-direction rule.media-feature-no-missing-punctuation rule.no-invalid-double-slash-comments rule.string-no-newline rule.Changed: first-nested at-rules now behaves the same as first-nested comments i.e. they can no longer be preceded by an empty line.
Changed: first-nested comments can no longer be preceded by an empty line.
comment-empty-line-before now ignores stylelint command comments.Fixed: more forgiving empty lines rules when comments are present i.e. the rule-non-nested-empty-line-before and at-rule-empty-line-before now make us
rule-non-nested-empty-line-before and at-rule-empty-line-before now make use of the ignore: ["after-comment"] option.- Added: block-no-empty rule.
block-no-empty rule.- Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →