Update dependency stylelint to v14
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| stylelint (source) | devDependencies | major | 13.13.1 -> 14.16.1 |
Release Notes
stylelint/stylelint
v14.16.1
- Fixed:
customSyntaxresolution withconfigBasedir(#6536) (@ybiquitous). - Fixed:
declaration-block-no-duplicate-propertiesautofix for!important(#6528) (@sidx1024). - Fixed:
function-no-unknownfalse positives forscroll,-webkit-gradient,color-stop,from, andto(#6539) (@Mouvedia). - Fixed:
value-keyword-casefalse positives for mixed caseignoreFunctionsoption (#6517) (@kimulaco). - Fixed: unexpected
outputin Node.js API lint result when any rule containsdisableFix: true(#6543) (@adrianjost).
v14.16.0
- Added:
media-feature-range-notationrule (#6497) (@jeddy3). - Added: support for plugin objects as config values (#6481) (@phoenisx).
- Fixed: incorrect output by all formatters except for
json(#6480) (@ybiquitous).
v14.15.0
- Added:
--globby-optionsflag (#6437) (@sidverma32). - Added: custom message formatting for
at-rule-disallowed-list,declaration-property-unit-disallowed-list,declaration-property-value-disallowed-list,function-disallowed-list, andproperty-disallowed-list(#6463) (@chloerice). - Added: support autofix with
checkAgainstRule(#6466) (@aaronccasanova). - Added: support for reporting with custom severity (#6444) (@aaronccasanova).
- Added: support to
checkAgainstRulewith custom rules (#6460) (@aaronccasanova). - Fixed: tally output of
stringformatter colorized (#6443) (@ybiquitous). - Fixed: usage of the
import-lazypackage to fit bundlers (#6449) (@phoenisx).
v14.14.1
- Fixed:
declaration-block-no-redundant-longhand-propertiesfalse positives forinheritkeyword (#6419) (@kimulaco). - Fixed:
shorthand-property-no-redundant-valuesmessage to be consistent (#6417) (@fpetrakov). - Fixed:
unit-no-unknownfalse positives for*vi&*vbviewport units (#6428) (@sidverma32).
v14.14.0
- Added:
*-patterncustom message formatting (#6391) (@ybiquitous). - Fixed:
block-no-emptyfalse positives forreportNeedlessDisables(#6381) (@ybiquitous). - Fixed:
printf-like formatting for custom messages (#6389) (@ybiquitous). - Fixed:
unit-no-unknownfalse positives for font-relative length units (#6374) (@ybiquitous). - Fixed: false negatives on second run for cache and
severityoption (#6384) (@kimulaco). - Fixed: TS compilation error due to needless
file-entry-cacheimport (#6393) (@adidahiya).
v14.13.0
- Added:
cacheStrategyoption (#6357) (@kaorun343). - Fixed: cache refresh when config is changed (#6356) (@kimulaco).
- Fixed:
selector-pseudo-element-no-unknownfalse positives for::highlightpseudo-element (#6367) (@jathak).
v14.12.1
- Fixed:
font-weight-notationmessages (#6350) (@ybiquitous). - Fixed: type declarations for custom message arguments (#6354) (@stof).
v14.12.0
- Added: support for multiple
--ignore-pathflags (#6345) (@kimulaco). - Added: experimental support for custom message arguments (#6312) (@ybiquitous).
- Added:
declaration-block-no-duplicate-propertiesautofix (#6296) (@fpetrakov). - Added:
font-weight-notationautofix (#6347) (@ybiquitous). - Added:
ignore: ["inside-block"]andsplitListtoselector-disallowed-list(#6334) (@mattmanuel90). - Added: regex support for
ignorePseudoClassesoption ofselector-pseudo-class-no-unknown(#6316) (@ybiquitous). - Added: regex support for
ignorePseudoElementsoption ofselector-pseudo-element-no-unknown(#6317) (@ybiquitous). - Added: regex support for
ignoreSelectorsoption ofselector-no-vendor-prefix(#6327) (@ybiquitous). - Added: regex support for
ignoreTypesoption ofselector-type-case(#6326) (@ybiquitous). - Fixed:
*-no-unknownfalse positives for container queries (#6318) (@fpetrakov). - Fixed:
font-family-name-quotesfalse positives for interpolation and shorthand (#6335) (@kimulaco). - Fixed:
time-min-millisecondsincorrect location for matching violating times (#6319) (@kawaguchi1102).
v14.11.0
- Added:
ignoreAfterCombinators: []toselector-max-universal(#6275). - Fixed:
createPlugintype definition (#6264). - Fixed:
alpha-value-notationfalse negatives for SVG properties (#6284). - Fixed:
keyframes-name-patternfalse positives for interpolation (#6265). - Fixed:
selector-nested-patternend positions (#6259). - Fixed:
selector-no-qualifying-typemessage, positions, and false positives (#6260). - Fixed:
selector-no-vendor-prefixend positions (#6261). - Fixed:
selector-pseudo-class-allowed-listend positions and message (#6262). - Fixed:
selector-pseudo-class-disallowed-listend positions and message (#6263). - Fixed:
selector-pseudo-element-allowed-listend positions and message (#6270). - Fixed:
selector-pseudo-element-disallowed-listend positions and message (#6270). - Fixed:
shorthand-property-no-redundant-valuesmessage (#6272). - Fixed:
time-min-millisecondsend positions (#6273).
v14.10.0
- Added: rule metadata to public
LinterResultAPI (#6166). - Added: longhand sub-properties of shorthand properties reference data to public API (#6168).
- Added:
meta.fixableproperty to each rule (#6181). - Added: support for loading custom formatter from package (#6228).
- Added:
annotation-no-unknownrule (#6155). - Added:
keyframe-selector-notationrule (#6164). - Added:
percentage-unless-within-keyword-only-blockprimary option tokeyframe-selector-notation(#6194). - Added:
githubformatter (#6150). - Added: tally to
stringandverboseformatters (#6153). - Added: fixable status to
verboseandgithubformatters (#6183). - Added: invalid rule primary option message for
false(#6250). - Fixed: exit code when nothing is passed to stylelint command (#6175).
- Fixed: rule message function type to not require users to handle all kind of arguments (#6147).
- Fixed:
at-rule-*end positions (#6163). - Fixed:
declaration-block-no-redundant-longhand-propertiesend positions (#6219). - Fixed:
declaration-property-value-allowed-listfalse positives for multiple match (#6190). - Fixed:
declaration-property-value-disallowed-listfalse negatives for multiple match (#6188). - Fixed:
named-grid-areas-no-invalidend positions (#6205). - Fixed:
no-descending-specificityfalse positives for pseudo-classes (#6195). - Fixed:
no-unknown-animationsend positions (#6221). - Fixed:
no-unknown-animationsfalse positives for SCSS interpolation (#6185). - Fixed:
number-max-precisionend positions (#6184). - Fixed:
property-*end positions (#6174). - Fixed:
rule-selector-property-disallowed-listend positions (#6222). - Fixed:
selector-attribute-name-disallowed-listend positions (#6223). - Fixed:
selector-attribute-operator-allowed-listend positions (#6224). - Fixed:
selector-attribute-operator-disallowed-listend positions (#6225). - Fixed:
selector-attribute-quotesend positions (#6226). - Fixed:
selector-class-patternend positions (#6227). - Fixed:
selector-combinator-allowed-listandselector-combinator-disallowed-listend positions (#6229). - Fixed:
selector-disallowed-listend positions (#6230). - Fixed:
selector-id-patternend positions (#6231). - Fixed:
selector-not-notationend positions (#6201). - Fixed:
selector-pseudo-element-colon-notationend positions (#6235). - Fixed:
string-no-newlineend positions (#6218). - Fixed:
unit-*start and end positions (#6169). - Fixed:
value-no-vendor-prefixend positions (#6173).
v14.9.1
- Fixed:
selector-max-specificityfalse positives for:nth-child(#6140).
v14.9.0
- Added:
import-notationrule (#6102). - Fixed:
no-duplicate-selectorsfalse positives for SCSS/Less nested interpolations (#6118). - Fixed:
no-descending-specificityandselector-max-specificityfalse positives for:is()and:where()(#6131).
v14.8.5
- Fixed:
no-duplicate-selectorsfalse positives with Less syntax (#6111).
v14.8.4
- Fixed:
no-duplicate-selectorserror with non-standard selectors (#6106).
v14.8.3
- Fixed:
at-rule-no-unknownfalse positives for@layer(#6093). - Fixed:
length-zero-no-unitautofix for.0values (#6098). - Fixed:
media-feature-name-no-unknownfalse positives fordisplay-mode(#6073). - Fixed:
no-descending-specificityend positions (#6049). - Fixed:
no-duplicate-*end positions (#6047). - Fixed:
no-invalid-*end positions (#6072). - Fixed:
no-invalid-position-at-import-rulefalse positives for@layer(#6094).
v14.8.2
- Fixed:
function-calc-no-unspaced-operatorfalse positives for non-standard variables (#6053). - Fixed:
selector-*-no-unknownend positions (#6046).
v14.8.1
- Fixed:
declaration-block-no-*end positions that avoid errors (#6040). - Fixed:
function-calc-no-unspaced-operatorfalse positives and memory leak (#6045). - Fixed:
named-grid-areas-no-invalidfalse positives for arealess templates (#6042).
v14.8.0
- Added:
keyframe-block-no-duplicate-selectorsrule (#6024). - Added:
property-*-listsupport for vendor prefixes (#6025). - Fixed:
at-rule-*-listend positions (#6032). - Fixed:
at-rule-no-unknownend positions (#6026). - Fixed:
function-linear-gradient-no-nonstandard-directionfalse negative about-ms-linear-gradient(#6031). - Fixed:
function-no-unknownend positions (#6038). - Fixed:
property-no-unknownend positions (#6039).
v14.7.1
- Fixed: a regression for
/* stylelint-disable */comments (#6018). - Fixed:
font-family-name-quotesfalse positives forui-*generic system font keywords (#6017).
v14.7.0
- Added: ranges for warnings that can be used by formatters and integrations (#5725).
- Added:
selector-not-notationrule (#5975). - Fixed:
font-weight-notationfalse positives for Sass functions and column position (#6005).
v14.6.1
- Fixed:
custom-property-patternTypeError for "Cannot destructure property..." (#5982). - Fixed:
selector-type-casefalse positives for SVG elements (#5973). - Fixed:
unit-no-unknownfalse positives for large/small/dynamic viewport units (#5970).
v14.6.0
- Added:
declaration-property-max-valuesrule (#5920). - Fixed:
*-no-importantcolumn position (#5957). - Fixed:
custom-property-patternfalse positives for interpolation in property name (#5949). - Fixed:
font-family-name-quotescolumn position (#5955). - Fixed:
selector-pseudo-*-no-unknownfalse positives and negatives (#5959). - Fixed:
selector-pseudo-class-no-unknownfalse positives and negatives (#5956).
v14.5.3
- Fixed:
*-listinvalid option warnings for strings (#5934).
v14.5.2
- Fixed: clarity of invalid option warning message for objects (#5923).
- Fixed:
*-listfalse negatives for invalid options (#5924). - Fixed:
custom-property-patternfalse positives for interpolation insidevar()(#5925). - Fixed:
declaration-property-value-*-listcolumn position (#5926).
v14.5.1
- Fixed:
function-no-unknownENOENT and TypeErrors (#5916). - Fixed:
function-no-unknownfalse positives for interpolation (#5914).
v14.5.0
- Added:
ignoreFunctions: []tofunction-no-unknown(#5901).
v14.4.0
- Added:
function-no-unknownrule (#5865). - Added:
font-family-name-quotesautofix (#5806). - Fixed: throwing more informative error when all input files are ignored (#5709).
- Fixed:
custom-property-patternfalse negatives for custom properties withinvar()(#5867). - Fixed:
no-descending-specificityparseError for double-slash comments within selector lists (#5891). - Fixed:
selector-pseudo-element-colon-notationfalse positives for escaped colons (#5879).
v14.3.0
- Added: support for
meta.urlto rules and plugins (#5845). - Added: hyperlinks for rules to terminal output (#5835).
- Added: hyperlinks for plugins to terminal output (#5859).
- Added:
ignore: ["rules"] / ["at-rules"]toblock-opening-brace-*-after(#5830). - Added:
ignoreSelectors: []toproperty-case(#5822). - Added:
ignoreFunctions: []tounit-allowed-list(#5857). - Added:
camelCaseSvgKeywordstovalue-keyword-case- use this option if you want legacy camel case SVG keywords likecurrentColor(#5849). - Fixed:
font-family-no-missing-generic-family-keywordfalse positives forrevertandrevert-layer(#5852). - Fixed:
no-descending-specificityfalse positives for the::-moz-focus-innerpseudo-element (#5831). - Fixed:
value-keyword-casefalse negatives for SVG keywords likecurrentcolor(#5849).
v14.2.0
- Added:
cwdoption to Node.js API (#5721). - Added:
resolveConfigoption to Node.js API (#5734). - Fixed: showing of incorrect missing package in
customSyntaxrequire handling (#5763). - Fixed:
color-function-notationfalse positives for variables and color functions (#5793) - Fixed:
color-namedfalse positives for hex with alpha-channel and false negatives for modern syntax (#5718). - Fixed:
declaration-empty-line-beforesupport for HTML files (#5689). - Fixed:
indentationTypeError for syntaxes that use Document node type (#5771).
v14.1.0
- Added: support for directory creation to
--output-fileflag (#5672). - Added:
ConfigurationErrortype (#5696). - Added:
rule-selector-property-disallowed-listrule (#5679). - Added:
ignore: ["consecutive-duplicates-with-same-prefixless-values"]todeclaration-block-no-duplicate-properties(#5609). - Added:
ignorePseudoClasses: []tomax-nesting-depth(#5620). - Fixed: extending rules within overrides (#5683).
- Fixed:
color-function-notationfalse positives for hex colours (#5650). - Fixed:
declaration-empty-line-beforefalse positives for values wrapped in parentheses (#5680). - Fixed:
indentationTypeError forbaseIndentLevel: 1option for Vue files (#5657). - Fixed:
property-no-unknownfalse positives for maps (#5690). - Fixed:
selector-type-casefalse positives for SVG type selectors (#5717).
v14.0.1
- Fixed: package size by excluding docs (#5643).
- Fixed:
overridesproperty ignoring dot directories (#5629). - Fixed: custom syntax require error handling (#5635).
- Fixed:
function-calc-no-unspaced-operatorfalse positives for hyphenated functions (#5636).
v14.0.0
- Removed: Node.js 10 support (#5303).
- Removed:
syntaxoption (#5297). - Removed:
configOverridesoption (#5530). - Removed: rules deprecated in 13.7.0 (#5295).
- Removed:
function-calc-no-invalidrule (#5296). - Changed:
ignoreFilesto be extendable (#5596). - Security: addressed ReDoS issue with regex in
indentation(#5539). - Added: TypeScript type definitions (#5582).
- Added:
customSyntaxoption as a property in the configuration object (#5538). - Added:
overridesproperty to configuration object (#5521). - Added:
disableFixas secondary option to rules property in the configuration object (#5460). - Added:
quietoption to Node.js API (#5542). - Added:
color-hex-alpharule (#5316). - Added:
custom-property-no-missing-var-functionrule (#5317). - Added:
function-calc-no-unspaced-operatorautofix (#5273). - Added:
ignoreFunctions: []tolength-zero-no-unit(#5314). - Added:
ignoreAtRules: []tono-invalid-position-at-import(#5520). - Added:
ignoreProperties: []tonumber-max-precision(#5421). - Fixed: "No files matching the pattern" when using backslash paths on Windows (#5386).
- Fixed:
function-url-quotesproblem messages to be consistent with other*-quotesrules (#5488). - Fixed:
length-zero-no-unitfalse positives forflexproperty (#5315). - Fixed:
media-feature-name-no-unknownfalse positives forprefers-contrast(#5428). - Fixed:
media-feature-name-no-unknownfalse positives fordynamic-range&video-dynamic-range(#5613). - Fixed:
media-feature-name-value-allowed-listTypeError for spaceless condition (#5581). - Fixed:
property-no-unknownfalse positives for Less maps (#5381). - Fixed:
selector-class-patternfalse positives for Less parametric mixins (#5378). - Fixed:
max-empty-linesautofix for Less comments (#5507). - Fixed:
named-grid-areas-no-invalidfalse negatives forgridandgrid-templateshorthand properties (#5514). - Fixed:
unit-no-unknownfalse positives for nested property declarations (#5500).
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.