Releases: stylelint/stylelint
16.23.1
It fixes 7 bugs.
- Fixed:
no-invalid-position-declaration
false positives for embedded styles (#8701) (@sw1tch3roo). - Fixed:
property-no-deprecated
erroneously autofixingclip
(#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 forselectedcontent
(#8716) (@Mouvedia).
16.23.0
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"]
tomedia-feature-range-notation
(#8675) (@immitsu). - Fixed:
declaration-block-no-duplicate-properties
false negatives for named colors withignore: ['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
It adds 3 rule features and fixes 2 bugs.
- Added:
messageArgs
tocolor-named
(#8663) (@Mouvedia). - Added:
messageArgs
todeclaration-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
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
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"]
tocustom-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
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
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
It adds 2 options to 2 rules and fixes 3 bugs.
- Added:
exceptWithoutPropertyFallback: []
tofunction-allowed-list
(#8488) (@ryo-manba). - Added:
ignore: ["four-into-three-edge-values"]
toshorthand-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
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 formath
offont-size
(#8495) (@otomad). - Fixed:
font-family-no-missing-generic-family-keyword
false positives formath
(#8489) (@otomad).
16.17.0
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.
- Added:
layer-name-pattern
rule (#8474) (@ryo-manba). - Added:
--compute-edit-info
CLI flag (#8473) (@ryo-manba). - Added:
ignorePreludeOfAtRules: []
tolength-zero-no-unit
(#8472) (@ryo-manba). - Added:
at-rule-no-unknown
support forlanguageOptions
(#8475) (@ryo-manba). - Added:
property-no-unknown
support forlanguageOptions
(#8476) (@ryo-manba). - Added:
declaration-block-no-redundant-longhand-properties
support for computingEditInfo
(#8482) (@pamelalozano16). - Added:
function-url-quotes
support for computingEditInfo
(#8483) (@pamelalozano16). - Added:
selector-attribute-quotes
support for computingEditInfo
(#8484) (@pamelalozano16). - Fixed:
custom-property-pattern
false negatives for@property
preludes (#8468) (@rohitgs28).