Stylelint Versions Save

A mighty CSS linter that helps you avoid errors and enforce conventions.

15.8.0

10 months ago
  • Added: media-feature-name-value-no-unknown (#6906) (@romainmenke).
  • Added: support for .mjs configuration files (#6910) (@ybiquitous).
  • Fixed: --print-config description in CLI help (#6914) (@ybiquitous).
  • Fixed: allowEmptyInput option in configuration files (#6929) (@ybiquitous).
  • Fixed: custom-property-no-missing-var-function performance (#6922) (@romainmenke).
  • Fixed: function-calc-no-unspaced-operator performance (#6923) (@romainmenke).
  • Fixed: function-linear-gradient-no-nonstandard-direction performance (#6924) (@romainmenke).
  • Fixed: function-no-unknown false positives for SCSS functions with namespace (#6921) (@romainmenke).
  • Fixed: max-nesting-depth error for at-rules in Sass syntax (#6909) (@ybiquitous).
  • Fixed: selector-anb-no-unmatchable performance (#6925) (@romainmenke).
  • Fixed: remove v8-compile-cache dependency (#6907) (@ybiquitous).

15.7.0

11 months ago
  • Added: splitList: boolean to selector-nested-pattern (#6896) (@is2ei).
  • Fixed: unit-no-unknown false positives for unicode-range descriptors (#6892) (@romainmenke).
  • Fixed: segmentation fault errors for Cosmiconfig 8.2 (#6902) (@romainmenke).

15.6.3

11 months ago
  • Fixed: alpha-value-notation false positives for color() (#6885) (@romainmenke).
  • Fixed: alpha-value-notation performance with improved benchmark script (#6864) (@romainmenke).
  • Fixed: at-rule-property-required-list performance (#6865) (@romainmenke).
  • Fixed: color-* performance (#6868) (@romainmenke).
  • Fixed: length-zero-no-unit false positives on new math functions (#6871) (@romainmenke).
  • Fixed: string formatter for unexpected truncation on non-ASCII characters (#6861) (@Max10240).
  • Fixed: unit-no-unknown false positives for the second and subsequent image-set() with x descriptor (#6879) (@romainmenke).

15.6.2

11 months ago
  • Fixed: alpha-value-notation false negatives for oklab(), oklch(), and color() (#6844) (@romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix with cubic-bezier() (#6841) (@romainmenke).
  • Fixed: function-no-unknown false positives for unspaced operators against nested brackets (#6842) (@romainmenke).
  • Fixed: function-url-quotes false positives for SCSS with() construct (#6847) (@ybiquitous).
  • Fixed: media-feature-name-no-unknown false positives for not and or (#6838) (@romainmenke).

15.6.1

1 year ago
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for transition (#6815) (@mattxwang).
  • Fixed: github formatter for missing final newline (#6822) (@konomae).
  • Fixed: selector-pseudo-class-no-unknown false positive for :modal (#6811) (@Yasir761).

15.6.0

1 year ago
  • Added: allowEmptyInput, cache, fix options to configuration object (#6778) (@mattxwang).
  • Added: ignore: ["with-var-inside"] to color-function-notation (#6802) (@mattxwang).
  • Fixed: declaration-block-no-duplicate-properties autofix for 3 or more duplicates (#6801) (@mattxwang).
  • Fixed: declaration-block-no-duplicate-properties false positives with option ignore: ["consecutive-duplicates-with-different-syntaxes"] (#6797) (@romainmenke).
  • Fixed: declaration-block-no-duplicate-properties syntax error (#6792) (@yoyo837).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-template (#6777) (@mattxwang).
  • Fixed: function-url-quotes autofix for comments in SCSS function (#6800) (@ybiquitous).

15.5.0

1 year ago
  • Added: ignore: ["consecutive-duplicates-with-different-syntaxes"] to declaration-block-no-duplicate-properties (#6772) (@kimulaco).
  • Added: ignoreProperties: [] to declaration-block-no-duplicate-custom-properties (#6773) (@mattxwang).
  • Added: raw regex support to ignoreProperties for declaration-block-no-duplicate-properties (#6764) (@ybiquitous).
  • Fixed: block-no-empty false positives with non-whitespace characters (#6782) (@ybiquitous).
  • Fixed: color-function-notation false positives for namespaced imports (#6774) (@mattxwang).
  • Fixed: custom-property-empty-line-before false positives for CSS-in-JS (#6767) (@ybiquitous).
  • Fixed: media-feature-range-notation parse error (#6760) (@fpetrakov).
  • Fixed: CLI help improvements (#6783) (@ybiquitous).

15.4.0

1 year ago
  • Added: --quiet-deprecation-warnings flag (#6724) (@mattxwang).
  • Added: -c alias for --config (#6720) (@sidverma32).
  • Added: media-feature-range-notation autofix (#6742) (@romainmenke).
  • Added: no-unknown-custom-properties rule (#6731) (@jameschensmith).
  • Fixed: function-url-quotes autofix for double-slash comments in SCSS maps (#6745) (@jgerigmeyer).
  • Fixed: isPathIgnored() utility's performance (#6728) (@ybiquitous).
  • Fixed: rule-selector-property-disallowed-list secondary options (#6723) (@mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties with basic keywords (#6748) (@mattxwang).
  • Fixed: deprecation warnings for disabled rules (#6747) (@ybiquitous).

15.3.0

1 year ago
  • Added: configurationComment configuration property (#6629) (@ifitzpatrick).
  • Added: selector-anb-no-unmatchable rule (#6678) (@mattxwang).
  • Fixed: TypeScript error for CommonJS importing (#6703) (@remcohaszing).
  • Fixed: *-no-redundant-* false negatives for inset shorthand (#6699) (@rayrw).
  • Fixed: function-url-quotes autofix for multiple url() (#6711) (@ybiquitous).
  • Fixed: value-keyword-case false positives for Level 4 system colours (#6712) (@thewilkybarkid).

15.2.0

1 year ago
  • Added: messageArgs to 76 rules (#6589) (@kizu).
  • Fixed: TypeScript error to export Plugin and RuleContext (#6664) (@henryruhs).
  • Fixed: overrides.extends order when including same rules (#6660) (@kuoruan).
  • Fixed: annotation-no-unknown false positives for CSS-in-JS template literals (#6666) (@hudochenkov).
  • Fixed: declaration-property-value-no-unknown false positives for at-rule descriptors (#6669) (@FloEdelmann).
  • Fixed: declaration-property-value-no-unknown parse error for alpha(opacity=n) to report as violation (#6650) (@romainmenke).
  • Fixed: function-name-case false positives for CSS-in-JS template literals (#6666) (@hudochenkov).
  • Fixed: function-no-unknown false positives for CSS-in-JS template literals (#6666) (@hudochenkov).
  • Fixed: unit-no-unknown false positives for CSS-in-JS template literals (#6666) (@hudochenkov).
  • Fixed: value-keyword-case false positives for CSS-in-JS template literals (#6666) (@hudochenkov).