chore(deps): update stylelint dependencies (major)
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| stylelint (source) | 14.16.1 -> 16.4.0 |
||||
| stylelint-config-standard | 24.0.0 -> 36.0.0 |
Release Notes
stylelint/stylelint
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-propertiesautofix conflicts (#7626) (@Mouvedia). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix fortext-decoration(#7611) (@Mouvedia). - Fixed:
declaration-block-no-shorthand-property-overridesfalse negatives forborder(#7585) (@fpetrakov). - Fixed:
declaration-block-no-shorthand-property-overridesfalse negatives forfontandborder(#7606) (@Mouvedia). - Fixed:
function-calc-no-unspaced-operatorfalse negatives for some math functions (#7619) (@Mouvedia). - Fixed:
function-no-unknownfalse positives foranchor,anchor-sizeandpalette-mix(#7607 & #7640) (@Mouvedia). - Fixed:
selector-max-attributeend positions (#7592) (@romainmenke). - Fixed:
selector-max-classend positions (#7590) (@romainmenke). - Fixed:
selector-max-combinatorsend positions (#7596) (@romainmenke). - Fixed:
selector-max-compound-selectorsend positions (#7599) (@romainmenke). - Fixed:
selector-max-pseudo-classend positions (#7598) (@romainmenke). - Fixed:
selector-max-universalend positions (#7597) (@romainmenke). - Fixed:
selector-type-no-unknownfalse positives for experimental and deprecated HTML tags (#7612) (@Mouvedia).
v16.3.1
- Fixed:
selector-max-idend 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
stringandverboseformatters (#7539) (@m-allanson). - Added: support for
*-deprecationcommand-line flags of Node.js (#7550) (@fpetrakov). - Fixed: false positive CJS deprecation warning for dual-package plugins (#7532) (@JounQin).
- Fixed:
rule-selector-property-disallowed-listfalse positives for nesting selectors (#7558) (@romainmenke). - Fixed:
selector-pseudo-*-allowed-listfalse positives for vendor prefixes (#7525) (@carlosjeurissen). - Fixed:
report()forindex/endIndexzero values (#7565) (@romainmenke). - Fixed:
selector-max-typeend 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-functionfalse positives for properties that can contain author-defined identifiers (#7478) (@ybiquitous). - Fixed:
selector-pseudo-class-no-unknownfalse positives for:seeking, the media loading state and sound state pseudo-classes (#7490) (@Mouvedia). - Fixed:
selector-max-specificityfalse positives withignoreSelectorsoption forof <selector>syntax (#7475) (@ybiquitous). - Fixed:
function-calc-no-unspaced-operatorperformance (#7505) (@ybiquitous). - Fixed:
validateOptionsto 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-invalidspecific problem messages (#7462) (@romainmenke). - Added:
checkContextFunctionalPseudoClasses: []toselector-max-id(#7380) (@brigitamaria). - Fixed:
declaration-property-value-no-unknownfalse negatives for@starting-style(#7461) (@fpetrakov). - Fixed:
function-no-unknown|value-keyword-casefalse positives for template literals with line breaks (#7443) (@Sh031224). - Fixed:
allowEmptyInputoption ignored in configuration object regression (#7446) (@ybiquitous). - Fixed:
at-rule-no-unknownfalse positives for@starting-style(#7438) (@fpetrakov). - Fixed:
ERR_UNSUPPORTED_ESM_URL_SCHEMEfor--custom-formatteron Windows (#7432) (@JounQin). - Fixed:
Error: Could not find <package>message clarity (#7456) (@jeddy3). - Fixed:
overrides.filesnegated pattern regression introduced in 15.0.0 (#7468) (@ybiquitous).
v16.1.0
- Added:
lightness-notationrule (#7366) (@fpetrakov). - Added:
ignore: ["keyframe-selectors"]toselector-disallowed-list(#7417) (@mattxwang). - Fixed:
selector-pseudo-class-no-unknownfalse positive for:popover-open(#7425) (@mattxwang). - Fixed:
declaration-property-value-no-unknownand other false positives for multiline SCSS interpolation. (#7406) (@FloEdelmann). - Fixed:
function-url-quotesfalse 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.formattersobject to havePromisevalues (#7184) (@ybiquitous). - Changed: exit code for CLI flag error (#7134) (@ybiquitous).
- Changed: default syntax behaviour to always use safe-parser with
fixregardless of extension (#7357) (@ybiquitous). - Changed: TypeScript definitions for ESM (#7309) (@ybiquitous).
- Changed:
stylelint.rulesobject to havePromisevalues (#7279) (@ybiquitous). - Changed:
stylelint.utils.checkAgainstRuleto be an async function (#7339) (@ybiquitous). - Deprecated: CommonJS Node.js API (#7353) (@ybiquitous).
- Deprecated:
outputproperty in a Node.js API returned object. Instead,report/codeproperties are recommended (#7183) (@ybiquitous) & (@haocheng6). - Added:
exportsfield topackage.jsonfor 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:
severitysecondary option's function support (#7202) (@kizu). - Added: support for a
Promiseformatter function (#7184) (@ybiquitous). - Added: support for ESM custom syntaxes (#7351) (@ybiquitous).
- Added:
report/codeproperties 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:
.jsextension to.mjsand.cjs(#7307) (@ybiquitous).
v15.11.0
- Added:
ignoreRulestomax-nesting-depth(#7215) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix forgrid-templatewithrepeat()(#7230) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesfalse negative forfont-synthesis(#7214) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesfalse negatives for*-blockand*-inlinelogical properties (#7208) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesfalse negatives foroverflow,overscroll-behavior,scroll-margin,scroll-padding, and new Box Alignment shorthands (#7213) (@mattxwang). - Fixed:
function-no-unknownfalse positives forlight-dark,linearandxywh(#7242) (@mattxwang).
v15.10.3
- Fixed:
declaration-property-value-no-unknownfalse negatives for typed custom properties (#7078) (@romainmenke). - Fixed:
property-no-unknownfalse positives for scroll-driven animations (#7090) (@renato-bohler).
v15.10.2
- Fixed:
declaration-property-value-no-unknownfalse negatives for nested declarations (#7079) (@romainmenke). - Fixed:
selector-pseudo-element-no-unknownfalse positives forview-transitionpseudo-elements (#7070) (@danielroe).
v15.10.1
- Security: fix for
semvervulnerability (#7043) (@romainmenke). - Fixed: invalid option regression on Windows 10 (#7043) (@romainmenke).
v15.10.0
- Added:
media-query-no-invalid(#6963) (@romainmenke). - Added: support for JS objects with
extendsconfig option (#6998) (@fpetrakov). - Fixed: inconsistent
erroredproperties instylelint.lint()return value (#6983) (@ybiquitous). - Fixed:
{selector,value}-no-vendor-prefixperformance (#7016) (@jeddy3). - Fixed:
custom-property-patternperformance (#7009) (@jeddy3). - Fixed:
function-linear-gradient-no-nonstandard-directionfalse positives for<color-interpolation-method>(#6987) (@romainmenke). - Fixed:
function-name-caseperformance (#7010) (@jeddy3). - Fixed:
function-no-unknownperformance (#7004) (@jeddy3). - Fixed:
function-url-quotesperformance (#7011) (@jeddy3). - Fixed:
hue-degree-notationfalse negatives foroklch(#7015) (@romainmenke). - Fixed:
hue-degree-notationperformance (#7012) (@jeddy3). - Fixed:
media-feature-name-no-unknownfalse positives forenvironment-blending,nav-controls,prefers-reduced-data, andvideo-color-gamut(#6978) (@romainmenke). - Fixed:
media-feature-name-no-vendor-prefixpositions for*-device-pixel-ratio(#6977) (@romainmenke). - Fixed:
no-descending-specificityperformance (#7026) (@romainmenke). - Fixed:
no-duplicate-at-import-rulesfalse negatives for imports withsupportsandlayerconditions (#7001) (@romainmenke). - Fixed:
selector-anb-no-unmatchableperformance (#7042) (@romainmenke). - Fixed:
selector-id-patternperformance (#7013) (@jeddy3). - Fixed:
selector-pseudo-class-no-unknownfalse negatives for pseudo-elements with matching names (#6964) (@Mouvedia). - Fixed:
selector-pseudo-element-no-unknownperformance (#7007) (@jeddy3). - Fixed:
selector-type-caseperformance (#7041) (@romainmenke). - Fixed:
selector-type-no-unknownperformance (#7027) (@romainmenke). - Fixed:
unit-disallowed-listfalse negatives with percentages (#7018) (@romainmenke).
v15.9.0
- Added:
insideFunctions: {"function": int}tonumber-max-precision(#6932) (@romainmenke). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix forborder-radiusshorthand (#6958) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix forborder-widthshorthand (#6956) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix forgrid-columnandgrid-row(#6957) (@mattxwang).
v15.8.0
- Added:
media-feature-name-value-no-unknown(#6906) (@romainmenke). - Added: support for
.mjsconfiguration files (#6910) (@ybiquitous). - Fixed:
--print-configdescription in CLI help (#6914) (@ybiquitous). - Fixed:
allowEmptyInputoption in configuration files (#6929) (@ybiquitous). - Fixed:
custom-property-no-missing-var-functionperformance (#6922) (@romainmenke). - Fixed:
function-calc-no-unspaced-operatorperformance (#6923) (@romainmenke). - Fixed:
function-linear-gradient-no-nonstandard-directionperformance (#6924) (@romainmenke). - Fixed:
function-no-unknownfalse positives for SCSS functions with namespace (#6921) (@romainmenke). - Fixed:
max-nesting-deptherror for at-rules in Sass syntax (#6909) (@ybiquitous). - Fixed:
selector-anb-no-unmatchableperformance (#6925) (@romainmenke). - Fixed: remove
v8-compile-cachedependency (#6907) (@ybiquitous).
v15.7.0
- Added:
splitList: booleantoselector-nested-pattern(#6896) (@is2ei). - Fixed:
unit-no-unknownfalse positives forunicode-rangedescriptors (#6892) (@romainmenke). - Fixed: segmentation fault errors for Cosmiconfig 8.2 (#6902) (@romainmenke).
v15.6.3
- Fixed:
alpha-value-notationfalse positives forcolor()(#6885) (@romainmenke). - Fixed:
alpha-value-notationperformance with improved benchmark script (#6864) (@romainmenke). - Fixed:
at-rule-property-required-listperformance (#6865) (@romainmenke). - Fixed:
color-*performance (#6868) (@romainmenke). - Fixed:
length-zero-no-unitfalse positives on new math functions (#6871) (@romainmenke). - Fixed:
stringformatter for unexpected truncation on non-ASCII characters (#6861) (@Max10240). - Fixed:
unit-no-unknownfalse positives for the second and subsequentimage-set()withxdescriptor (#6879) (@romainmenke).
v15.6.2
- Fixed:
alpha-value-notationfalse negatives foroklab(),oklch(), andcolor()(#6844) (@romainmenke). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix withcubic-bezier()(#6841) (@romainmenke). - Fixed:
function-no-unknownfalse positives for unspaced operators against nested brackets (#6842) (@romainmenke). - Fixed:
function-url-quotesfalse positives for SCSSwith()construct (#6847) (@ybiquitous). - Fixed:
media-feature-name-no-unknownfalse positives fornotandor(#6838) (@romainmenke).
v15.6.1
- Fixed:
declaration-block-no-redundant-longhand-propertiesautofix fortransition(#6815) (@mattxwang). - Fixed:
githubformatter for missing final newline (#6822) (@konomae). - Fixed:
selector-pseudo-class-no-unknownfalse positive for:modal(#6811) (@Yasir761).
v15.6.0
- Added:
allowEmptyInput,cache,fixoptions to configuration object (#6778) (@mattxwang). - Added:
ignore: ["with-var-inside"]tocolor-function-notation(#6802) (@mattxwang). - Fixed:
declaration-block-no-duplicate-propertiesautofix for 3 or more duplicates (#6801) (@mattxwang). - Fixed:
declaration-block-no-duplicate-propertiesfalse positives with optionignore: ["consecutive-duplicates-with-different-syntaxes"](#6797) (@romainmenke). - Fixed:
declaration-block-no-duplicate-propertiessyntax error (#6792) (@yoyo837). - Fixed:
declaration-block-no-redundant-longhand-propertiesautofix forgrid-template(#6777) (@mattxwang). - Fixed:
function-url-quotesautofix for comments in SCSS function (#6800) (@ybiquitous).
v15.5.0
- Added:
ignore: ["consecutive-duplicates-with-different-syntaxes"]todeclaration-block-no-duplicate-properties(#6772) (@kimulaco). - Added:
ignoreProperties: []todeclaration-block-no-duplicate-custom-properties(#6773) (@mattxwang). - Added: raw regex support to
ignorePropertiesfordeclaration-block-no-duplicate-properties(#6764) (@ybiquitous). - Fixed:
block-no-emptyfalse positives with non-whitespace characters (#6782) (@ybiquitous). - Fixed:
color-function-notationfalse positives for namespaced imports (#6774) (@mattxwang). - Fixed:
custom-property-empty-line-beforefalse positives for CSS-in-JS (#6767) (@ybiquitous). - Fixed:
media-feature-range-notationparse error (#6760) (@fpetrakov). - Fixed: CLI help improvements (#6783) (@ybiquitous).
v15.4.0
- Added:
--quiet-deprecation-warningsflag (#6724) (@mattxwang). - Added:
-calias for--config(#6720) (@sidverma32). - Added:
media-feature-range-notationautofix (#6742) (@romainmenke). - Added:
no-unknown-custom-propertiesrule (#6731) (@jameschensmith). - Fixed:
function-url-quotesautofix for double-slash comments in SCSS maps (#6745) (@jgerigmeyer). - Fixed:
isPathIgnored()utility's performance (#6728) (@ybiquitous). - Fixed:
rule-selector-property-disallowed-listsecondary options (#6723) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-propertieswith basic keywords (#6748) (@mattxwang). - Fixed: deprecation warnings for disabled rules (#6747) (@ybiquitous).
v15.3.0
- Added:
configurationCommentconfiguration property (#6629) (@ifitzpatrick). - Added:
selector-anb-no-unmatchablerule (#6678) (@mattxwang). - Fixed: TypeScript error for CommonJS importing (#6703) (@remcohaszing).
- Fixed:
*-no-redundant-*false negatives forinsetshorthand (#6699) (@rayrw). - Fixed:
function-url-quotesautofix for multipleurl()(#6711) (@ybiquitous). - Fixed:
value-keyword-casefalse positives for Level 4 system colours (#6712) (@thewilkybarkid).
v15.2.0
- Added:
messageArgsto 76 rules (#6589) (@kizu). - Fixed: TypeScript error to export
PluginandRuleContext(#6664) (@henryruhs). - Fixed:
overrides.extendsorder when including same rules (#6660) (@kuoruan). - Fixed:
annotation-no-unknownfalse positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
declaration-property-value-no-unknownfalse positives for at-rule descriptors (#6669) (@FloEdelmann). - Fixed:
declaration-property-value-no-unknownparse error foralpha(opacity=n)to report as violation (#6650) (@romainmenke). - Fixed:
function-name-casefalse positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
function-no-unknownfalse positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
unit-no-unknownfalse positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
value-keyword-casefalse positives for CSS-in-JS template literals (#6666) (@hudochenkov).
v15.1.0
- Added:
declaration-block-no-redundant-longhand-propertiesautofix (#6580) (@mattxwang). - Fixed:
declaration-property-value-no-unknownfalse positives forenv()(#6646) (@romainmenke). - Fixed:
function-calc-no-unspaced-operatorTypeError on emptycalc()(#6634) (@romainmenke). - Fixed: inaccurate
customSyntaxinference (#6645) (@ybiquitous).
v15.0.0
- Removed: Node.js 12 support (#6477) (@ybiquitous). (BREAKING)
- Removed: support for processors (#6479) (@ybiquitous). (BREAKING)
- Removed:
syntaxoption (#6420) (@fpetrakov). (BREAKING) - Changed:
extendsinoverridesto merge to be consistent withpluginsbehaviour (#6380) (@jasikpark). (BREAKING) - Changed: type definitions to reorganize (#6510) (@ybiquitous). (BREAKING)
- Changed: type names to be more consistent (#6503) (@ybiquitous). (BREAKING)
- Deprecated: stylistic rules handled by Prettier (#6504) (@ybiquitous).
- Added:
declaration-property-value-no-unknownrule (#6511) (@jeddy3). - Added:
media-feature-name-unit-allowed-listrule (#6550) (@mattxwang). - Added:
function-url-quotesautofix (#6558) (@mattxwang). - Added:
ignore: ["custom-elements"]toselector-max-type(#6588) (@muddv). - Added:
ignoreFunctions: []tounit-disallowed-list(#6592) (@mattxwang). - Added: deprecated rule warnings (#6561) (@ybiquitous).
- Added: message arguments to
declaration-property-unit-allowed-list(#6570) (@mattxwang). - Fixed:
overrides.filesin config to allow basename glob patterns (#6547) (@ybiquitous). - Fixed:
at-rule-no-unknownfalse positives for@scroll-timeline(#6554) (@mattxwang). - Fixed:
function-no-unknownfalse positives for interpolation and backticks in CSS-in-JS (#6565) (@hudochenkov). - Fixed:
keyframe-selector-notationfalse positives for named timeline ranges (#6605) (@kimulaco). - Fixed:
property-no-unknownfalse negatives for newer custom syntaxes (#6553) (@43081j). - Fixed:
selector-attribute-quotesfalse positives for "never" (#6571) (@mattxwang). - Fixed:
selector-not-notationautofix for "simple" option (#6608) (@Mouvedia).
stylelint/stylelint-config-standard
v36.0.0
- Removed:
stylelintless than16.1.0from peer dependencies. - Added:
lightness-notation: "percentage"rule.
v35.0.0
- Removed:
stylelintless than16.0.0from peer dependencies. - Removed: Node.js less than
18.12.0support. - Changed: updated to
stylelint-config-recommended@14.0.0.
v34.0.0
- Removed:
stylelintless than15.10.0from peer dependencies - Changed: updated to
stylelint-config-recommended@13.0.0.
v33.0.0
- Removed:
stylelintless than15.5.0from peer dependencies. - Changed: updated to
stylelint-config-recommended@12.0.0. - Changed: restored
declaration-block-single-line-max-declarationsremoved on30.0.0.
v32.0.0
- Removed:
stylelintless than15.4.0from peer dependencies. - Added:
media-feature-range-notation: "context"rule.
v31.0.0
- Removed:
stylelintless than15.3.0from peer dependencies. - Changed: updated to
stylelint-config-recommended@11.0.0.
v30.0.1
- Fixed: updated to
stylelint-config-recommended@10.0.1.
v30.0.0
- Removed:
stylelintless than15.0.0from peer dependencies. - Removed: 64 rules deprecated in
stylelint@15.0.0. For details, see the migration guide. - Fixed:
length-zero-no-unitto ignore custom properties. - Fixed:
value-no-vendor-prefixto ignore-webkit-inline-box.
v29.0.0
- Removed:
stylelintless than14.14.0from peer dependencies. - Changed:
import-notationto be"url". - Added: custom parameter messages to
*-patternrules. - Fixed:
value-no-vendor-prefixto ignore-webkit-box.
v28.0.0
- Removed:
stylelintless than14.11.0from peer dependencies. - Changed:
alpha-value-notationto be"number"for SVG*-opacityproperties.
v27.0.0
- Removed:
stylelintless than14.10.0from peer dependencies. - Changed: updated to
stylelint-config-recommended@9.0.0. - Added:
keyframe-selector-notationrule.
v26.0.0
- Removed:
stylelintless than14.9.0from peer dependencies. - Changed: updated to
stylelint-config-recommended@8.0.0. - Added:
import-notationrule. - Added:
selector-not-notationrule.
v25.0.0
- Removed:
stylelintless than14.4.0from peer dependencies. - Changed: updated to
stylelint-config-recommended@7.0.0.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate (Bot)