Update dependency stylelint to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
stylelint (source) | dependencies | major | ^15.0.0 -> 16.11.0 |
Release Notes
stylelint/stylelint
v16.11.0
- Added:
--report-unscoped-disables
CLI flag andreportUnscopedDisables
option to Node.js API and configuration object (#8024) (@Mouvedia). - Added:
ignoreFunctions: []
tomedia-query-no-invalid
(#8060) (@ryo-manba). - Added:
name
configuration property underoverrides
(#8095) (@ryo-manba). - Fixed:
benchmark-rule
script to resolveTypeError
(#8090) (@ybiquitous). - Fixed:
github
formatter deprecation warning link tohttps://stylelint.io/awesome-stylelint#formatters
(#8115) (@ryo-manba). - Fixed:
function-calc-no-unspaced-operator
false negatives forcalc-size
(#8026) (@azat-io). - Fixed:
max-nesting-depth
false positives when the&
selector is being ignored (#8048) (@ryo-manba). - Fixed:
media-feature-name-value-no-unknown
false positives fordisplay-mode: picture-in-picture
(#8136) (@Mouvedia). - Fixed:
no-irregular-whitespace
reported ranges (#8066) (@romainmenke). - Fixed:
selector-attribute-name-disallowed-list
reported ranges (#8037) (@ryo-manba). - Fixed:
selector-attribute-operator-allowed-list
reported ranges (#8038) (@ryo-manba). - Fixed:
selector-attribute-operator-disallowed-list
reported ranges (#8039) (@ryo-manba). - Fixed:
selector-class-pattern
reported ranges (#8042) (@ryo-manba). - Fixed:
selector-combinator-allowed-list
reported ranges (#8046) (@ryo-manba). - Fixed:
selector-combinator-disallowed-list
reported ranges (#8047) (@ryo-manba). - Fixed:
selector-disallowed-list
reported ranges (#8067) (@ryo-manba). - Fixed:
selector-id-pattern
reported ranges (#8045) (@ryo-manba). - Fixed:
selector-max-attribute
reported ranges (#8052) (@ryo-manba). - Fixed:
selector-max-class
reported ranges (#8053) (@ryo-manba). - Fixed:
selector-max-combinators
reported-ranges (#8055) (@ryo-manba). - Fixed:
selector-max-compound-selectors
reported ranges (#8056) (@ryo-manba). - Fixed:
selector-max-id
reported ranges (#8054) (@ryo-manba). - Fixed:
selector-max-pseudo-class
reported ranges (#8057) (@ryo-manba). - Fixed:
selector-max-specificity
reported ranges (#8058) (@ryo-manba). - Fixed:
selector-max-universal
reported ranges (#8059) (@ryo-manba). - Fixed:
selector-nested-pattern
reported ranges (#8072) (@ryo-manba). - Fixed:
selector-no-vendor-prefix
reported ranges (#8073) (@ryo-manba). - Fixed:
selector-not-notation
reported ranges (#8074) (@ryo-manba). - Fixed:
selector-pseudo-class-allowed-list
reported ranges (#8061) (@ryo-manba). - Fixed:
selector-pseudo-class-disallowed-list
reported ranges (#8062) (@ryo-manba). - Fixed:
selector-pseudo-class-no-unknown
reported ranges (#8063) (@ryo-manba). - Fixed:
selector-pseudo-element-allowed-list
reported ranges (#8068) (@ryo-manba). - Fixed:
selector-pseudo-element-colon-notation
reported ranges (#8069) (@ryo-manba). - Fixed:
selector-pseudo-element-disallowed-list
reported ranges (#8070) (@ryo-manba). - Fixed:
selector-pseudo-element-no-unknown
false positives for::scroll-marker
and::scroll-marker-group
(#8110) (@Mouvedia). - Fixed:
selector-pseudo-element-no-unknown
reported ranges (#8071) (@ryo-manba). - Fixed:
selector-type-no-unknown
reported ranges (#8076) (@ryo-manba).
v16.10.0
- Changed:
shorthand-property-no-redundant-values
reported ranges (#8008) (@Mouvedia). - Added:
formatter
configuration property (#7826) (@emmacharp). - Added:
validate
option to Node.js API and--validate
CLI flag (#8009) (@Mouvedia). - Added: fixed section to the output of the
verbose
formatter (#7985) (@Mouvedia). - Added: support for
string | RegExp
toignoreValues
option ofvalue-no-vendor-prefix
(#7969) (@Mouvedia). - Added: support for
string
toignoreLonghands
option ofdeclaration-block-no-redundant-longhand-properties
(#7971) (@Mouvedia). - Fixed:
at-rule-no-unknown
false positives for@position-try
(#7968) (@yelizsevinc). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix forgrid-column
/grid-row
(#8023) (@ryo-manba). - Fixed:
declaration-property-value-no-unknown
false negatives/positives viacss-tree@3.0.0
(#7993) (@Mouvedia). - Fixed:
declaration-property-value-no-unknown
reported ranges and message (#8003) (@romainmenke). - Fixed:
keyframe-selector-notation
reported ranges (#7992) (@romainmenke). - Fixed:
length-zero-no-unit
false positives for Sass variables (#8035) (@ryo-manba). - Fixed:
no-descending-specificity
reported ranges (#7996) (@romainmenke). - Fixed:
selector-anb-no-unmatchable
reported ranges and message (#8001) (@romainmenke). - Fixed:
string
formatter handling of log symbols for non-Unicode terminals (#7981) (@Mouvedia). - Fixed: built
.cjs
files to address Rollup vulnerability (#8010) (@ybiquitous). - Fixed: incorrect
config
option for Node.js API withextends
andoverrides
(#8030) (@ybiquitous). - Fixed: stricter validation for the options of
declaration-property-max-values
,declaration-property-value-no-unknown
andnumber-max-precision
(#7975) (@Mouvedia).
v16.9.0
- Changed:
secondaryOptions
argument type of theRule
function (#7950) (@Mouvedia). - Fixed:
color-function-notation
reporting functions with less than 3 arguments (#7948) (@Mouvedia). - Fixed:
declaration-property-value-no-unknown
false positives/negatives (#7944 & #7957 & #7956) (@Mouvedia & @sidverma32).- false positives:
overflow
,word-break
,width
- false negatives:
anchor-name
,field-sizing
,text-box-edge
,text-box-trim
,text-spacing-trim
,text-wrap
,text-wrap-mode
,text-wrap-style
,view-timeline
,view-timeline-axis
,view-timeline-inset
,view-timeline-name
,view-transition-name
- false positives:
- Fixed:
keyframe-block-no-duplicate-selectors
/keyframe-declaration-no-important
/keyframe-selector-notation
/no-unknown-animations
false negatives for@-o-keyframes
and@-ms-keyframes
(#7953) (@Mouvedia). - Fixed:
no-duplicate-selectors
reported ranges (#7938) (@romainmenke). - Fixed:
property-no-vendor-prefix
report for-webkit-background-size
(#7940) (@Mouvedia). - Fixed:
selector-class-pattern
reported ranges (#7959) (@Mouvedia). - Fixed:
selector-no-qualifying-type
reported ranges (#7937) (@romainmenke). - Fixed: honour Node.js
--no-deprecation
flag for rule deprecation warnings (#7943) (@Mouvedia).
v16.8.2
- Deprecated:
context.fix
usage in favour of recommending to pass afix
callback toreport()
(#7895) (@Mouvedia). - Added: deprecation notice annotation to the output of the
github
formatter (#7909) (@Mouvedia). - Fixed:
custom-property-no-missing-var-function
false positives forview-transition-name
(#7914) (@Mouvedia). - Fixed:
keyframe-block-no-duplicate-selectors
reported ranges (#7932) (@romainmenke). - Fixed:
no-invalid-double-slash-comments
reported ranges (#7907 & #7905) (@Mouvedia & @romainmenke). - Fixed:
selector-max-type
reported ranges (#7916) (@romainmenke). - Fixed:
selector-type-no-unknown
false positives for::highlight()
and::view-transition-*()
(#7913) (@Mouvedia).
v16.8.1
- Fixed:
no-duplicate-selectors
false positives with Less syntax (#7888) (@romainmenke).
v16.8.0
- Deprecated:
github
formatter (#7865) (@marcalexiei). - Fixed:
function-url-quotes
false positives for SCSS variables and#
/?
characters (#7874) (@vimalloc). - Fixed:
keyframe-selector-notation
false positives forentry-crossing
andexit-crossing
(#7859) (@romainmenke). - Fixed:
no-descending-specificity
false positives for nested rules without declarations (#7850) (@romainmenke). - Fixed:
no-duplicate-selectors
end positions (#7867) (@romainmenke). - Fixed:
no-duplicate-selectors
false negatives for three or more duplicates (#7867) (@romainmenke). - Fixed:
selector-max-compound-selectors
error for@nest
(#7875) (@romainmenke). - Fixed:
selector-pseudo-class-no-unknown
false positives for:active-view-transition
and:active-view-transition-type()
(#7868) (@Mouvedia). - Fixed:
selector-type-*
,selector-max-type
andselector-class-pattern
false positives for<timeline-range-name>
in keyframe selectors (#7856) (@romainmenke). - Fixed:
stylelint.utils.checkAgainstRule()
regression whenreportNeedlessDisables
andquiet
are both enabled (#7879) (@ybiquitous). - Fixed: configuration comments within selector and value lists being ignored (#7839) (@romainmenke).
v16.7.0
- Changed:
tap
formatter to support TAP14 (#7759) (@Mouvedia). - Added:
url
secondary option (#7743) (@emmacharp). - Fixed:
at-rule-no-unknown
false positives for@historical-forms
and@font-palette-values
(#7774) (@Mouvedia). - Fixed:
at-rule-no-unknown
false positives for@view-transition
(#7753) (@sebdanielsson). - Fixed:
at-rule-no-vendor-prefix
false negatives for@-moz-document
and@-webkit-viewport
(#7772) (@Mouvedia). - Fixed:
comment-whitespace-inside
end positions (#7744) (@Mouvedia). - Fixed:
declaration-block-no-duplicate-properties
reported ranges (#7758) (@Mouvedia). - Fixed:
declaration-block-no-redundant-longhand-properties
/declaration-block-no-shorthand-property-overrides
false negatives forfont-variant
(#7734) (@Bilie). - Fixed:
font-family-name-quotes
false negatives for-moz-*
/-webkit-*
keywords (#7777) (@Mouvedia). - Fixed:
font-family-no-missing-generic-family-keyword
false negatives for font families which names match a CSS3font-variant
keyword (#7823) (@Mouvedia). - Fixed:
function-name-case
end positions (#7747) (@Mouvedia). - Fixed:
function-no-unknown
performance by reducing file read count (#7801) (@ybiquitous). - Fixed:
media-feature-name-no-vendor-prefix
autofix (#7770) (@Mouvedia). - Fixed:
no-invalid-double-slash-comments
reported ranges (#7768) (@Mouvedia). - Fixed:
property-no-unknown
false positives fornavigation
and miscellaneous legacy properties (#7764) (@Mouvedia). - Fixed:
quietDeprecationWarnings
to suppressstylelint:003
warning (#7837) (@ybiquitous). - Fixed:
selector-no-vendor-prefix
autofix (#7763) (@Mouvedia). - Fixed:
selector-not-notation
end positions when new lines are part of the selector (#7755) (@Mouvedia). - Fixed:
selector-type-case
end positions (#7752) (@Mouvedia). - Fixed:
shorthand-property-no-redundant-values
false negatives for logical properties,overflow
,overscroll-behavior
,scroll-margin
andscroll-padding
(#7808) (@Mouvedia). - Fixed:
string-no-newline
false positives for escaped multi-line (#7818) (@romainmenke). - Fixed:
value-keyword-case
end positions (#7760) (@Mouvedia). - Fixed:
stylelint.utils.checkAgainstRule()
for Promise-based rules (#7821) (@aaronccasanova). - Fixed:
stylelint.utils.checkAgainstRule()
to useresult.stylelint
if present (#7833) (@ybiquitous). - Fixed: YAML diagnostic block end marker line of the
tap
formatter (#7759) (@Mouvedia). - Fixed: autofix of incorrectly implemented plugins when unscoped stylelint commands are present (#7733) (@romainmenke).
v16.6.1
- Fixed:
no-descending-specificity
false positives for nested selectors (#7724) (@romainmenke). - Fixed:
selector-type-no-unknown
false positive formodel
(#7718) (@Mouvedia).
v16.6.0
- Fixed:
function-calc-no-unspaced-operator
false negatives (#7655 & #7670 & #7676) (@ybiquitous & @romainmenke). - Fixed:
selector-not-notation
autofix of the"simple"
option (#7703) (@Mouvedia). - Fixed:
selector-max-specificity
end positions (#7685) (@romainmenke). - Fixed:
no-descending-specificity
end positions (#7701) (@romainmenke). - Fixed: missing GitHub Sponsor for
npm fund
(#7707) (@ybiquitous).
v16.5.0
- Added: regex support to
ignoreValues
forvalue-no-vendor-prefix
(#7650) (@Mouvedia). - Fixed:
shorthand-property-no-redundant-values
false negatives for functions (#7657) (@ybiquitous). - Fixed:
value-no-vendor-prefix
false negatives/positives (#7654 & #7658) (@Mouvedia). - Fixed:
CosmiconfigResult
type error (#7661) (@ybiquitous).
v16.4.0
- Added:
no-unknown-custom-media
(#7594) (@fpetrakov). - Added:
ignoreLonghands: []
todeclaration-block-no-redundant-longhand-properties
(#7611) (@Mouvedia). - Added:
ignore: ["keyframe-selectors"]
torule-selector-property-disallowed-list
(#7572) (@emmacharp). - Added: experimental support for post processors (#7568) (@YuanboXue-Amber).
- Fixed:
declaration-block-no-redundant-longhand-properties
autofix conflicts (#7626) (@Mouvedia). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix fortext-decoration
(#7611) (@Mouvedia). - Fixed:
declaration-block-no-shorthand-property-overrides
false negatives forborder
(#7585) (@fpetrakov). - Fixed:
declaration-block-no-shorthand-property-overrides
false negatives forfont
andborder
(#7606) (@Mouvedia). - Fixed:
function-calc-no-unspaced-operator
false negatives for some math functions (#7619) (@Mouvedia). - Fixed:
function-no-unknown
false positives foranchor
,anchor-size
andpalette-mix
(#7607 & #7640) (@Mouvedia). - Fixed:
selector-max-attribute
end positions (#7592) (@romainmenke). - Fixed:
selector-max-class
end positions (#7590) (@romainmenke). - Fixed:
selector-max-combinators
end positions (#7596) (@romainmenke). - Fixed:
selector-max-compound-selectors
end positions (#7599) (@romainmenke). - Fixed:
selector-max-pseudo-class
end positions (#7598) (@romainmenke). - Fixed:
selector-max-universal
end positions (#7597) (@romainmenke). - Fixed:
selector-type-no-unknown
false positives for experimental and deprecated HTML tags (#7612) (@Mouvedia).
v16.3.1
- Fixed:
selector-max-id
end positions (#7571) (@romainmenke). - Fixed: import errors for configs and plugins omitting
/index.js
(#7578) (@ota-meshi).
v16.3.0
- Added:
ignoreSelectors: []
toselector-max-compound-selectors
(#7544) (@FloEdelmann). - Added: tally of fixable problems to
string
andverbose
formatters (#7539) (@m-allanson). - Added: support for
*-deprecation
command-line flags of Node.js (#7550) (@fpetrakov). - Fixed: false positive CJS deprecation warning for dual-package plugins (#7532) (@JounQin).
- Fixed:
rule-selector-property-disallowed-list
false positives for nesting selectors (#7558) (@romainmenke). - Fixed:
selector-pseudo-*-allowed-list
false positives for vendor prefixes (#7525) (@carlosjeurissen). - Fixed:
report()
forindex
/endIndex
zero values (#7565) (@romainmenke). - Fixed:
selector-max-type
end positions (#7518) (@romainmenke).
v16.2.1
- Fixed: report flags not reporting on subsequent runs when cache is used (#7483) (@ybiquitous).
- Fixed:
custom-property-no-missing-var-function
false positives for properties that can contain author-defined identifiers (#7478) (@ybiquitous). - Fixed:
selector-pseudo-class-no-unknown
false positives for:seeking
, the media loading state and sound state pseudo-classes (#7490) (@Mouvedia). - Fixed:
selector-max-specificity
false positives withignoreSelectors
option forof <selector>
syntax (#7475) (@ybiquitous). - Fixed:
function-calc-no-unspaced-operator
performance (#7505) (@ybiquitous). - Fixed:
validateOptions
to report when secondary option object is an empty object or null (#7476) (@ybiquitous). - Fixed:
report()
error message responsibility for a missing node or line number (#7474) (@ybiquitous).
v16.2.0
- Added:
media-query-no-invalid
specific problem messages (#7462) (@romainmenke). - Added:
checkContextFunctionalPseudoClasses: []
toselector-max-id
(#7380) (@brigitamaria). - Fixed:
declaration-property-value-no-unknown
false negatives for@starting-style
(#7461) (@fpetrakov). - Fixed:
function-no-unknown|value-keyword-case
false positives for template literals with line breaks (#7443) (@Sh031224). - Fixed:
allowEmptyInput
option ignored in configuration object regression (#7446) (@ybiquitous). - Fixed:
at-rule-no-unknown
false positives for@starting-style
(#7438) (@fpetrakov). - Fixed:
ERR_UNSUPPORTED_ESM_URL_SCHEME
for--custom-formatter
on Windows (#7432) (@JounQin). - Fixed:
Error: Could not find <package>
message clarity (#7456) (@jeddy3). - Fixed:
overrides.files
negated pattern regression introduced in 15.0.0 (#7468) (@ybiquitous).
v16.1.0
- Added:
lightness-notation
rule (#7366) (@fpetrakov). - Added:
ignore: ["keyframe-selectors"]
toselector-disallowed-list
(#7417) (@mattxwang). - Fixed:
selector-pseudo-class-no-unknown
false positive for:popover-open
(#7425) (@mattxwang). - Fixed:
declaration-property-value-no-unknown
and other false positives for multiline SCSS interpolation. (#7406) (@FloEdelmann). - Fixed:
function-url-quotes
false positives for SCSS variable and@
character (#7416) (@mattxwang).
v16.0.2
v16.0.1
- Fixed: type definitions for CommonJS and ESM compatibility (#7377) (@remcohaszing).
v16.0.0
- Removed: Node.js less than 18.12.0 support (#7020) (@ybiquitous).
- Removed: 76 rules deprecated in 15.0.0 (#6979) (@mattxwang).
- Changed:
stylelint.formatters
object to havePromise
values (#7184) (@ybiquitous). - Changed: exit code for CLI flag error (#7134) (@ybiquitous).
- Changed: default syntax behaviour to always use safe-parser with
fix
regardless of extension (#7357) (@ybiquitous). - Changed: TypeScript definitions for ESM (#7309) (@ybiquitous).
- Changed:
stylelint.rules
object to havePromise
values (#7279) (@ybiquitous). - Changed:
stylelint.utils.checkAgainstRule
to be an async function (#7339) (@ybiquitous). - Deprecated: CommonJS Node.js API (#7353) (@ybiquitous).
- Deprecated:
output
property in a Node.js API returned object. Instead,report
/code
properties are recommended (#7183) (@ybiquitous) & (@haocheng6). - Added:
exports
field topackage.json
for Conditional Exports (ESM/CommonJS) (#7307) (@ybiquitous). - Added: support for ESM plugins (#7339) (@ybiquitous).
- Added: support for ESM custom formatters (#7343) (@ybiquitous).
- Added: support for a package name as arguments to
--custom-formatter
(#7343) (@ybiquitous). - Added:
severity
secondary option's function support (#7202) (@kizu). - Added: support for a
Promise
formatter function (#7184) (@ybiquitous). - Added: support for ESM custom syntaxes (#7351) (@ybiquitous).
- Added:
report
/code
properties to a Node.js API returned object (#7183) (@ybiquitous) & (@haocheng6). - Fixed: no longer needed workaround for Cosmiconfig segfault (#7329) (@ybiquitous).
- Fixed: CLI regression to avoid waiting for stdin without any input (#7131) (@ybiquitous).
- Fixed: CLI to avoid different outputs on empty files and empty stdin (#7131) (@ybiquitous).
- Refactored:
.js
extension to.mjs
and.cjs
(#7307) (@ybiquitous).
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Tine Wittler