Update dependency stylelint to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
stylelint (source) | dependencies | major | ^15.0.0 -> ^16.0.0 |
Release Notes
stylelint/stylelint
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