Skip to content

Releases: stylelint/stylelint

16.23.1

07 Aug 14:05
Compare
Choose a tag to compare

It fixes 7 bugs.

  • Fixed: no-invalid-position-declaration false positives for embedded styles (#8701) (@sw1tch3roo).
  • Fixed: property-no-deprecated erroneously autofixing clip (#8699) (@immitsu).
  • Fixed: property-no-deprecated false positives for -webkit-box-orient: vertical; (#8699) (@immitsu).
  • Fixed: selector-pseudo-*-no-unknown false positives for some meter pseudo classes/elements (#8708) (@Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for :unchecked (#8705) (@Mouvedia).
  • Fixed: selector-pseudo-element-no-unknown false positives for ::search-text (#8707) (@Mouvedia).
  • Fixed: selector-type-no-unknown false positives for selectedcontent (#8716) (@Mouvedia).

16.23.0

29 Jul 11:31
Compare
Choose a tag to compare

It adds 5 new rules, 1 option to a rule and fixes 3 bugs. We've turned on the new rules in our standard config.

  • Added: block-no-redundant-nested-style-rules rule (#8684) (@sw1tch3roo).
  • Added: media-type-no-deprecated rule (#8668) (@immitsu).
  • Added: nesting-selector-no-missing-scoping-root rule (#8674) (@sw1tch3roo).
  • Added: no-invalid-position-declaration rule (#8669) (@sw1tch3roo).
  • Added: property-no-deprecated rule (#8682) (@immitsu).
  • Added: except: ["exact-value"] to media-feature-range-notation (#8675) (@immitsu).
  • Fixed: declaration-block-no-duplicate-properties false negatives for named colors with ignore: ['consecutive-duplicates-with-different-syntaxes'] (#8665) (@sw1tch3roo).
  • Fixed: function-no-unknown false positives (#8677) (@Mouvedia).
  • Fixed: no-irregular-whitespace false positives for strings (#8667) (@immitsu).

16.22.0

18 Jul 10:51
Compare
Choose a tag to compare

It adds 3 rule features and fixes 2 bugs.

  • Added: messageArgs to color-named (#8663) (@Mouvedia).
  • Added: messageArgs to declaration-property-value-keyword-no-deprecated (#8654) (@Mouvedia).
  • Added: no-descending-specificity report message includes line number of the anchoring selector (#8666) (@immitsu).
  • Fixed: at-rule-no-deprecated false positives for @apply (#8630) (@Mouvedia).
  • Fixed: lightness-notation crash with "number" option and single-digit percentage (#8661) (@ybiquitous).

16.21.1

03 Jul 08:08
Compare
Choose a tag to compare

It fixes 3 bugs.

  • Fixed: unexpected change of syntax in computed EditInfo (#8638) (@romainmenke).
  • Fixed: function-linear-gradient-no-nonstandard-direction false positives for CSS variables' names containing a direction substring (#8643) (@Solomon-mithra).
  • Fixed: media-feature-range-notation autofix for exact values (#8651) (@romainmenke).

16.21.0

19 Jun 08:40
Compare
Choose a tag to compare

It rounds out the message secondary option and marks it as stable, adds 1 new option to a rule, and fixes 4 bugs.

  • Added: non-experimental support for functional message secondary option (#8595) (@ybiquitous).
  • Added: ignore: ["after-custom-property"] to custom-property-empty-line-before (#8627) (@imkesin).
  • Fixed: cache configuration property not being respected (#8599) (@ybiquitous).
  • Fixed: fastest-levenshtein import when bundling (#8621) (@onigoetz).
  • Fixed: named-grid-areas-no-invalid false positives for interpolated grid-template-areas in CSS-in-JS (#8606) (@shahana308).
  • Fixed: selector-pseudo-*-no-unknown false positives for the missing form control styling selectors (#8623) (@tyrann0us).

16.20.0

29 May 16:12
Compare
Choose a tag to compare

It fixes 2 bugs with the built-in rules.

  • Fixed: function-url-no-scheme-relative false negatives for @import (#8576) (@pamelalozano16).
  • Fixed: shorthand-property-no-redundant-values false negatives for additional radius (#8539) (@ryo-manba).

16.19.1

25 Apr 15:09
25968c6
Compare
Choose a tag to compare

It fixes 1 bug with the no-empty-source rule.

  • 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.