Releases: stylelint/stylelint
16.19.1
- 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).
16.16.0
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.
- Added:
at-rule-empty-line-before
support for computingEditInfo
(#8425) (@pamelalozano16). - Added:
at-rule-no-deprecated
support for computingEditInfo
(#8426) (@pamelalozano16). - Added:
at-rule-no-vendor-prefix
support for computingEditInfo
(#8427) (@pamelalozano16). - Added:
color-function-notation
support for computingEditInfo
(#8437) (@pamelalozano16). - Added:
declaration-empty-line-before
support for computingEditInfo
(#8443) (@pamelalozano16). - Added:
declaration-property-value-keyword-no-deprecated
support for computingEditInfo
. (#8439) (@pamelalozano16). - Added:
font-family-name-quotes
support for computingEditInfo
(#8419) (@ryo-manba). - Added:
font-weight-notation
support for computingEditInfo
(#8420) (@ryo-manba). - Added:
function-calc-no-unspaced-operator
support for computingEditInfo
(#8440) (@pamelalozano16). - Added:
function-name-case
support for support for computingEditInfo
." (#8442) (@pamelalozano16). - Added:
hue-degree-notation
support for computingEditInfo
(#8444) (@pamelalozano16). - Added:
import-notation
support for computingEditInfo
. (#8445) (@pamelalozano16). - Added:
keyframe-selector-notation
support for computingEditInfo
(#8457) (@pamelalozano16). - Added:
length-zero-no-unit
support for computingEditInfo
(#8459) (@pamelalozano16). - Added:
lightness-notation
support for computingEditInfo
(#8458) (@pamelalozano16). - Added:
media-feature-name-no-vendor-prefix
support for computingEditInfo
(#8456) (@pamelalozano16). - Added:
media-feature-range-notation
support for computingEditInfo
(#8455) (@pamelalozano16). - Added:
property-no-vendor-prefix
support for computingEditInfo
(#8461) (@pamelalozano16). - Added:
rule-empty-line-before
support for computingEditInfo
(#8460) (@pamelalozano16). - Added:
selector-no-vendor-prefix
support forEditInfo
(#8462) (@pamelalozano16). - Added:
selector-not-notation
support for computingEditInfo
(#8463) (@pamelalozano16). - Added:
selector-pseudo-element-colon-notation
support forEditInfo
(#8464) (@pamelalozano16). - Added:
selector-type-case
support for computingEditInfo
(#8467) (@pamelalozano16). - Added:
shorthand-property-no-redundant-values
support for computingEditInfo
(#8466) (@pamelalozano16). - Added:
value-keyword-case
support for computingEditInfo
(#8469) (@pamelalozano16). - Added:
value-no-vendor-prefix
support for computingEditInfo
(#8470) (@pamelalozano16). - Fixed:
Could not find a declaration file for module 'css-tree'
type error (#8452) (@danielrentz).
16.15.0
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 ofat-rule-empty-line-before
(#8385) (@ryo-manba). - Added:
alpha-value-notation
support for computingEditInfo
(#8369) (@pamelalozano16). - Added:
color-hex-length
support for computingEditInfo
(#8415) (@ryo-manba). - Added:
comment-empty-line-before
support for computingEditInfo
(#8416) (@ryo-manba). - Added:
comment-whitespace-inside
support for computingEditInfo
(#8417) (@ryo-manba). - Added:
custom-property-empty-line-before
support for computingEditInfo
(#8418) (@ryo-manba). - Added:
declaration-block-no-duplicate-properties
support for computingEditInfo
(#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 intext
field (#8370) (@pamelalozano16). - Fixed:
declaration-property-value-keyword-no-deprecated
false negatives fortext-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 formath
,emoji
andfangsong
(#8395) (@ViachaslauIhnatsiuk). - Fixed:
selector-type-no-unknown
false positives forselectmenu
andpopup
(#8376) (@Mouvedia).
16.14.1
It fixes a bug with caching.
- Fixed: incompatible cache file format (#8359) (@romainmenke).
16.14.0
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 ofborder-color
andoverflow
(#8346) (@Mouvedia). - Fixed:
declaration-property-value-keyword-no-deprecated
false negatives foroverflow-x
andoverflow-y
(#8340) (@Mouvedia). - Fixed:
declaration-property-value-keyword-no-deprecated
false negatives forscrollbar-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 foroverflow: <keyword> <keyword>
(#8340) (@Mouvedia). - Fixed:
selector-pseudo-class-no-unknown
false positives for:has-slotted
(#8332) (@Mouvedia).
16.13.2
It fixes a regression bug with --fix
.
- Fixed:
--fix
CLI flag raising unknown value error (#8313) (@ybiquitous).
16.13.1
It fixes one bug due to an upstream change in our ignore
dependency.
- Fixed:
ignore.default is not a function
(#8305) (@romainmenke).