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:
customSyntax
resolution withconfigBasedir
(#6536) (@ybiquitous). - Fixed:
declaration-block-no-duplicate-properties
autofix for!important
(#6528) (@sidx1024). - Fixed:
function-no-unknown
false positives forscroll
,-webkit-gradient
,color-stop
,from
, andto
(#6539) (@Mouvedia). - Fixed:
value-keyword-case
false positives for mixed caseignoreFunctions
option (#6517) (@kimulaco). - Fixed: unexpected
output
in Node.js API lint result when any rule containsdisableFix: true
(#6543) (@adrianjost).
v14.16.0
- Added:
media-feature-range-notation
rule (#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-options
flag (#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
checkAgainstRule
with custom rules (#6460) (@aaronccasanova). - Fixed: tally output of
string
formatter colorized (#6443) (@ybiquitous). - Fixed: usage of the
import-lazy
package to fit bundlers (#6449) (@phoenisx).
v14.14.1
- Fixed:
declaration-block-no-redundant-longhand-properties
false positives forinherit
keyword (#6419) (@kimulaco). - Fixed:
shorthand-property-no-redundant-values
message to be consistent (#6417) (@fpetrakov). - Fixed:
unit-no-unknown
false positives for*vi
&*vb
viewport units (#6428) (@sidverma32).
v14.14.0
- Added:
*-pattern
custom message formatting (#6391) (@ybiquitous). - Fixed:
block-no-empty
false positives forreportNeedlessDisables
(#6381) (@ybiquitous). - Fixed:
printf
-like formatting for custom messages (#6389) (@ybiquitous). - Fixed:
unit-no-unknown
false positives for font-relative length units (#6374) (@ybiquitous). - Fixed: false negatives on second run for cache and
severity
option (#6384) (@kimulaco). - Fixed: TS compilation error due to needless
file-entry-cache
import (#6393) (@adidahiya).
v14.13.0
- Added:
cacheStrategy
option (#6357) (@kaorun343). - Fixed: cache refresh when config is changed (#6356) (@kimulaco).
- Fixed:
selector-pseudo-element-no-unknown
false positives for::highlight
pseudo-element (#6367) (@jathak).
v14.12.1
- Fixed:
font-weight-notation
messages (#6350) (@ybiquitous). - Fixed: type declarations for custom message arguments (#6354) (@stof).
v14.12.0
- Added: support for multiple
--ignore-path
flags (#6345) (@kimulaco). - Added: experimental support for custom message arguments (#6312) (@ybiquitous).
- Added:
declaration-block-no-duplicate-properties
autofix (#6296) (@fpetrakov). - Added:
font-weight-notation
autofix (#6347) (@ybiquitous). - Added:
ignore: ["inside-block"]
andsplitList
toselector-disallowed-list
(#6334) (@mattmanuel90). - Added: regex support for
ignorePseudoClasses
option ofselector-pseudo-class-no-unknown
(#6316) (@ybiquitous). - Added: regex support for
ignorePseudoElements
option ofselector-pseudo-element-no-unknown
(#6317) (@ybiquitous). - Added: regex support for
ignoreSelectors
option ofselector-no-vendor-prefix
(#6327) (@ybiquitous). - Added: regex support for
ignoreTypes
option ofselector-type-case
(#6326) (@ybiquitous). - Fixed:
*-no-unknown
false positives for container queries (#6318) (@fpetrakov). - Fixed:
font-family-name-quotes
false positives for interpolation and shorthand (#6335) (@kimulaco). - Fixed:
time-min-milliseconds
incorrect location for matching violating times (#6319) (@kawaguchi1102).
v14.11.0
- Added:
ignoreAfterCombinators: []
toselector-max-universal
(#6275). - Fixed:
createPlugin
type definition (#6264). - Fixed:
alpha-value-notation
false negatives for SVG properties (#6284). - Fixed:
keyframes-name-pattern
false positives for interpolation (#6265). - Fixed:
selector-nested-pattern
end positions (#6259). - Fixed:
selector-no-qualifying-type
message, positions, and false positives (#6260). - Fixed:
selector-no-vendor-prefix
end positions (#6261). - Fixed:
selector-pseudo-class-allowed-list
end positions and message (#6262). - Fixed:
selector-pseudo-class-disallowed-list
end positions and message (#6263). - Fixed:
selector-pseudo-element-allowed-list
end positions and message (#6270). - Fixed:
selector-pseudo-element-disallowed-list
end positions and message (#6270). - Fixed:
shorthand-property-no-redundant-values
message (#6272). - Fixed:
time-min-milliseconds
end positions (#6273).
v14.10.0
- Added: rule metadata to public
LinterResult
API (#6166). - Added: longhand sub-properties of shorthand properties reference data to public API (#6168).
- Added:
meta.fixable
property to each rule (#6181). - Added: support for loading custom formatter from package (#6228).
- Added:
annotation-no-unknown
rule (#6155). - Added:
keyframe-selector-notation
rule (#6164). - Added:
percentage-unless-within-keyword-only-block
primary option tokeyframe-selector-notation
(#6194). - Added:
github
formatter (#6150). - Added: tally to
string
andverbose
formatters (#6153). - Added: fixable status to
verbose
andgithub
formatters (#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-properties
end positions (#6219). - Fixed:
declaration-property-value-allowed-list
false positives for multiple match (#6190). - Fixed:
declaration-property-value-disallowed-list
false negatives for multiple match (#6188). - Fixed:
named-grid-areas-no-invalid
end positions (#6205). - Fixed:
no-descending-specificity
false positives for pseudo-classes (#6195). - Fixed:
no-unknown-animations
end positions (#6221). - Fixed:
no-unknown-animations
false positives for SCSS interpolation (#6185). - Fixed:
number-max-precision
end positions (#6184). - Fixed:
property-*
end positions (#6174). - Fixed:
rule-selector-property-disallowed-list
end positions (#6222). - Fixed:
selector-attribute-name-disallowed-list
end positions (#6223). - Fixed:
selector-attribute-operator-allowed-list
end positions (#6224). - Fixed:
selector-attribute-operator-disallowed-list
end positions (#6225). - Fixed:
selector-attribute-quotes
end positions (#6226). - Fixed:
selector-class-pattern
end positions (#6227). - Fixed:
selector-combinator-allowed-list
andselector-combinator-disallowed-list
end positions (#6229). - Fixed:
selector-disallowed-list
end positions (#6230). - Fixed:
selector-id-pattern
end positions (#6231). - Fixed:
selector-not-notation
end positions (#6201). - Fixed:
selector-pseudo-element-colon-notation
end positions (#6235). - Fixed:
string-no-newline
end positions (#6218). - Fixed:
unit-*
start and end positions (#6169). - Fixed:
value-no-vendor-prefix
end positions (#6173).
v14.9.1
- Fixed:
selector-max-specificity
false positives for:nth-child
(#6140).
v14.9.0
- Added:
import-notation
rule (#6102). - Fixed:
no-duplicate-selectors
false positives for SCSS/Less nested interpolations (#6118). - Fixed:
no-descending-specificity
andselector-max-specificity
false positives for:is()
and:where()
(#6131).
v14.8.5
- Fixed:
no-duplicate-selectors
false positives with Less syntax (#6111).
v14.8.4
- Fixed:
no-duplicate-selectors
error with non-standard selectors (#6106).
v14.8.3
- Fixed:
at-rule-no-unknown
false positives for@layer
(#6093). - Fixed:
length-zero-no-unit
autofix for.0
values (#6098). - Fixed:
media-feature-name-no-unknown
false positives fordisplay-mode
(#6073). - Fixed:
no-descending-specificity
end positions (#6049). - Fixed:
no-duplicate-*
end positions (#6047). - Fixed:
no-invalid-*
end positions (#6072). - Fixed:
no-invalid-position-at-import-rule
false positives for@layer
(#6094).
v14.8.2
- Fixed:
function-calc-no-unspaced-operator
false positives for non-standard variables (#6053). - Fixed:
selector-*-no-unknown
end positions (#6046).
v14.8.1
- Fixed:
declaration-block-no-*
end positions that avoid errors (#6040). - Fixed:
function-calc-no-unspaced-operator
false positives and memory leak (#6045). - Fixed:
named-grid-areas-no-invalid
false positives for arealess templates (#6042).
v14.8.0
- Added:
keyframe-block-no-duplicate-selectors
rule (#6024). - Added:
property-*-list
support for vendor prefixes (#6025). - Fixed:
at-rule-*-list
end positions (#6032). - Fixed:
at-rule-no-unknown
end positions (#6026). - Fixed:
function-linear-gradient-no-nonstandard-direction
false negative about-ms-linear-gradient
(#6031). - Fixed:
function-no-unknown
end positions (#6038). - Fixed:
property-no-unknown
end positions (#6039).
v14.7.1
- Fixed: a regression for
/* stylelint-disable */
comments (#6018). - Fixed:
font-family-name-quotes
false 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-notation
rule (#5975). - Fixed:
font-weight-notation
false positives for Sass functions and column position (#6005).
v14.6.1
- Fixed:
custom-property-pattern
TypeError for "Cannot destructure property..." (#5982). - Fixed:
selector-type-case
false positives for SVG elements (#5973). - Fixed:
unit-no-unknown
false positives for large/small/dynamic viewport units (#5970).
v14.6.0
- Added:
declaration-property-max-values
rule (#5920). - Fixed:
*-no-important
column position (#5957). - Fixed:
custom-property-pattern
false positives for interpolation in property name (#5949). - Fixed:
font-family-name-quotes
column position (#5955). - Fixed:
selector-pseudo-*-no-unknown
false positives and negatives (#5959). - Fixed:
selector-pseudo-class-no-unknown
false positives and negatives (#5956).
v14.5.3
- Fixed:
*-list
invalid option warnings for strings (#5934).
v14.5.2
- Fixed: clarity of invalid option warning message for objects (#5923).
- Fixed:
*-list
false negatives for invalid options (#5924). - Fixed:
custom-property-pattern
false positives for interpolation insidevar()
(#5925). - Fixed:
declaration-property-value-*-list
column position (#5926).
v14.5.1
- Fixed:
function-no-unknown
ENOENT and TypeErrors (#5916). - Fixed:
function-no-unknown
false positives for interpolation (#5914).
v14.5.0
- Added:
ignoreFunctions: []
tofunction-no-unknown
(#5901).
v14.4.0
- Added:
function-no-unknown
rule (#5865). - Added:
font-family-name-quotes
autofix (#5806). - Fixed: throwing more informative error when all input files are ignored (#5709).
- Fixed:
custom-property-pattern
false negatives for custom properties withinvar()
(#5867). - Fixed:
no-descending-specificity
parseError for double-slash comments within selector lists (#5891). - Fixed:
selector-pseudo-element-colon-notation
false positives for escaped colons (#5879).
v14.3.0
- Added: support for
meta.url
to 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:
camelCaseSvgKeywords
tovalue-keyword-case
- use this option if you want legacy camel case SVG keywords likecurrentColor
(#5849). - Fixed:
font-family-no-missing-generic-family-keyword
false positives forrevert
andrevert-layer
(#5852). - Fixed:
no-descending-specificity
false positives for the::-moz-focus-inner
pseudo-element (#5831). - Fixed:
value-keyword-case
false negatives for SVG keywords likecurrentcolor
(#5849).
v14.2.0
- Added:
cwd
option to Node.js API (#5721). - Added:
resolveConfig
option to Node.js API (#5734). - Fixed: showing of incorrect missing package in
customSyntax
require handling (#5763). - Fixed:
color-function-notation
false positives for variables and color functions (#5793) - Fixed:
color-named
false positives for hex with alpha-channel and false negatives for modern syntax (#5718). - Fixed:
declaration-empty-line-before
support for HTML files (#5689). - Fixed:
indentation
TypeError for syntaxes that use Document node type (#5771).
v14.1.0
- Added: support for directory creation to
--output-file
flag (#5672). - Added:
ConfigurationError
type (#5696). - Added:
rule-selector-property-disallowed-list
rule (#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-notation
false positives for hex colours (#5650). - Fixed:
declaration-empty-line-before
false positives for values wrapped in parentheses (#5680). - Fixed:
indentation
TypeError forbaseIndentLevel: 1
option for Vue files (#5657). - Fixed:
property-no-unknown
false positives for maps (#5690). - Fixed:
selector-type-case
false positives for SVG type selectors (#5717).
v14.0.1
- Fixed: package size by excluding docs (#5643).
- Fixed:
overrides
property ignoring dot directories (#5629). - Fixed: custom syntax require error handling (#5635).
- Fixed:
function-calc-no-unspaced-operator
false positives for hyphenated functions (#5636).
v14.0.0
- Removed: Node.js 10 support (#5303).
- Removed:
syntax
option (#5297). - Removed:
configOverrides
option (#5530). - Removed: rules deprecated in 13.7.0 (#5295).
- Removed:
function-calc-no-invalid
rule (#5296). - Changed:
ignoreFiles
to be extendable (#5596). - Security: addressed ReDoS issue with regex in
indentation
(#5539). - Added: TypeScript type definitions (#5582).
- Added:
customSyntax
option as a property in the configuration object (#5538). - Added:
overrides
property to configuration object (#5521). - Added:
disableFix
as secondary option to rules property in the configuration object (#5460). - Added:
quiet
option to Node.js API (#5542). - Added:
color-hex-alpha
rule (#5316). - Added:
custom-property-no-missing-var-function
rule (#5317). - Added:
function-calc-no-unspaced-operator
autofix (#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-quotes
problem messages to be consistent with other*-quotes
rules (#5488). - Fixed:
length-zero-no-unit
false positives forflex
property (#5315). - Fixed:
media-feature-name-no-unknown
false positives forprefers-contrast
(#5428). - Fixed:
media-feature-name-no-unknown
false positives fordynamic-range
&video-dynamic-range
(#5613). - Fixed:
media-feature-name-value-allowed-list
TypeError for spaceless condition (#5581). - Fixed:
property-no-unknown
false positives for Less maps (#5381). - Fixed:
selector-class-pattern
false positives for Less parametric mixins (#5378). - Fixed:
max-empty-lines
autofix for Less comments (#5507). - Fixed:
named-grid-areas-no-invalid
false negatives forgrid
andgrid-template
shorthand properties (#5514). - Fixed:
unit-no-unknown
false 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.