Skip to content

Releases: stylelint/stylelint

16.19.1

25 Apr 15:09
25968c6
Compare
Choose a tag to compare
  • Fixed: no-empty-source false positives for non-standard syntaxes (#8548) (@ybiquitous).

16.19.0

23 Apr 13:06
Compare
Choose a tag to compare

It adds 2 options to 2 rules and fixes 3 bugs.

  • Added: exceptWithoutPropertyFallback: [] to function-allowed-list (#8488) (@ryo-manba).
  • Added: ignore: ["four-into-three-edge-values"] to shorthand-property-no-redundant-values (#8527) (@ryo-manba).
  • Fixed: compact formatter with pnpm to newline the exit code (#8534) (@konomae).
  • Fixed: declaration-property-value-no-unknown range and message for invalid syntax within known functions (#8528) (@ryo-manba).
  • Fixed: no-empty-source false positives for --report-needless-disables (#8536) (@romainmenke).

16.18.0

06 Apr 08:54
Compare
Choose a tag to compare

It adds 2 new rules and fixes 2 bugs. We've turned on these rules, and the syntax-string-no-invalid and layer-name-pattern ones from recent releases, in our standard config.

  • Added: color-function-alias-notation rule (#8499) (@EduardAkhmetshin).
  • Added: container-name-pattern rule (#8498) (@nate10j).
  • Fixed: declaration-property-value-no-unknown false positives for math of font-size (#8495) (@otomad).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for math (#8489) (@otomad).

16.17.0

26 Mar 11:07
Compare
Choose a tag to compare

It adds 1 new rule, support for languageOptions to 2 rules, 1 option to a rule, the --compute-edit-info CLI flag (along with support for EditInfo in 3 rules), and fixes 1 bug. EditInfo is useful for automated fixing tools and editor integrations.

16.16.0

14 Mar 14:05
Compare
Choose a tag to compare

It adds support for computing EditInfo to 22 more rules and reverts a change that added context.lexer to our public API in the previous release.

16.15.0

28 Feb 16:26
Compare
Choose a tag to compare

It adds 1 new rule, a languageOptions configuration property for configuring some of the new rules added in 16.13.0, regex support to 1 option and support for computing EditInfo to 6 rules. It fixes 9 bugs, including 2 with the tap reporter.

  • Added: syntax-string-no-invalid rule (#8331) (@ryo-manba).
  • Added: languageOptions configuration property (#8297) (@ryo-manba).
  • Added: regex support to ignoreAtRules option of at-rule-empty-line-before (#8385) (@ryo-manba).
  • Added: alpha-value-notation support for computing EditInfo (#8369) (@pamelalozano16).
  • Added: color-hex-length support for computing EditInfo (#8415) (@ryo-manba).
  • Added: comment-empty-line-before support for computing EditInfo (#8416) (@ryo-manba).
  • Added: comment-whitespace-inside support for computing EditInfo (#8417) (@ryo-manba).
  • Added: custom-property-empty-line-before support for computing EditInfo (#8418) (@ryo-manba).
  • Added: declaration-block-no-duplicate-properties support for computing EditInfo (#8363) (@romainmenke).
  • Fixed: tap formatter not escaping # and \ in its test point descriptions (#8334) (@Mouvedia).
  • Fixed: tap formatter outputting invalid YAML blocks for rules containing double quotes in their warnings' messages (#8334) (@Mouvedia).
  • Fixed: declaration-block-no-redundant-longhand-properties false positives for properties with !important (#8366) (@immitsu).
  • Fixed: EditInfo missing semicolon in text field (#8370) (@pamelalozano16).
  • Fixed: declaration-property-value-keyword-no-deprecated false negatives for text-decoration: blink (#8351) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false positives for styled components interpolated functions (#8392) (@Mouvedia).
  • Fixed: font-family-name-quotes false positives due to vendor-prefixed font-size values (#8393) (@Mouvedia).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for math, emoji and fangsong (#8395) (@ViachaslauIhnatsiuk).
  • Fixed: selector-type-no-unknown false positives for selectmenu and popup (#8376) (@Mouvedia).

16.14.1

27 Jan 15:00
Compare
Choose a tag to compare

It fixes a bug with caching.

16.14.0

25 Jan 14:19
Compare
Choose a tag to compare

It fixes 8 bugs and adds features to our Warning type.

  • Added: replaced text and corresponding range to Warning type (#8234) (@romainmenke).
  • Fixed: SyntaxError: The requested module 'table'... (#8325) (@denisx).
  • Fixed: RuleContext['fix'] type (#8309) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated autofix of border-color and overflow (#8346) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false negatives for overflow-x and overflow-y (#8340) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false negatives for scrollbar-color (#8346) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false positives for non-standard syntax values (#8329) (@Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated warning message for overflow: <keyword> <keyword> (#8340) (@Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for :has-slotted (#8332) (@Mouvedia).

16.13.2

14 Jan 12:44
Compare
Choose a tag to compare

It fixes a regression bug with --fix.

16.13.1

13 Jan 18:14
Compare
Choose a tag to compare

It fixes one bug due to an upstream change in our ignore dependency.