Skip to content

Update dependency stylelint to v14

renovate-bot requested to merge renovate/stylelint-14.x into develop

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

Compare Source

  • Fixed: customSyntax resolution with configBasedir (#​6536) (@​ybiquitous).
  • Fixed: declaration-block-no-duplicate-properties autofix for !important (#​6528) (@​sidx1024).
  • Fixed: function-no-unknown false positives for scroll, -webkit-gradient, color-stop, from, and to (#​6539) (@​Mouvedia).
  • Fixed: value-keyword-case false positives for mixed case ignoreFunctions option (#​6517) (@​kimulaco).
  • Fixed: unexpected output in Node.js API lint result when any rule contains disableFix: true (#​6543) (@​adrianjost).

v14.16.0

Compare Source

v14.15.0

Compare Source

v14.14.1

Compare Source

  • Fixed: declaration-block-no-redundant-longhand-properties false positives for inherit 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

Compare Source

v14.13.0

Compare Source

v14.12.1

Compare Source

v14.12.0

Compare Source

v14.11.0

Compare Source

  • Added: ignoreAfterCombinators: [] to selector-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

Compare Source

  • 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 to keyframe-selector-notation (#​6194).
  • Added: github formatter (#​6150).
  • Added: tally to string and verbose formatters (#​6153).
  • Added: fixable status to verbose and github 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 and selector-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

Compare Source

  • Fixed: selector-max-specificity false positives for :nth-child (#​6140).

v14.9.0

Compare Source

  • Added: import-notation rule (#​6102).
  • Fixed: no-duplicate-selectors false positives for SCSS/Less nested interpolations (#​6118).
  • Fixed: no-descending-specificity and selector-max-specificity false positives for :is() and :where() (#​6131).

v14.8.5

Compare Source

  • Fixed: no-duplicate-selectors false positives with Less syntax (#​6111).

v14.8.4

Compare Source

  • Fixed: no-duplicate-selectors error with non-standard selectors (#​6106).

v14.8.3

Compare Source

  • 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 for display-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

Compare Source

  • Fixed: function-calc-no-unspaced-operator false positives for non-standard variables (#​6053).
  • Fixed: selector-*-no-unknown end positions (#​6046).

v14.8.1

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fixed: a regression for /* stylelint-disable */ comments (#​6018).
  • Fixed: font-family-name-quotes false positives for ui-* generic system font keywords (#​6017).

v14.7.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fixed: *-list invalid option warnings for strings (#​5934).

v14.5.2

Compare Source

  • 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 inside var() (#​5925).
  • Fixed: declaration-property-value-*-list column position (#​5926).

v14.5.1

Compare Source

  • Fixed: function-no-unknown ENOENT and TypeErrors (#​5916).
  • Fixed: function-no-unknown false positives for interpolation (#​5914).

v14.5.0

Compare Source

  • Added: ignoreFunctions: [] to function-no-unknown (#​5901).

v14.4.0

Compare Source

  • 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 within var() (#​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

Compare Source

  • 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"] to block-opening-brace-*-after (#​5830).
  • Added: ignoreSelectors: [] to property-case (#​5822).
  • Added: ignoreFunctions: [] to unit-allowed-list (#​5857).
  • Added: camelCaseSvgKeywords to value-keyword-case - use this option if you want legacy camel case SVG keywords like currentColor (#​5849).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for revert and revert-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 like currentcolor (#​5849).

v14.2.0

Compare Source

  • 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

Compare Source

  • 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"] to declaration-block-no-duplicate-properties (#​5609).
  • Added: ignorePseudoClasses: [] to max-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 for baseIndentLevel: 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

Compare Source

  • 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

Compare Source

Migrating to 14.0.0 guide.

  • 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: [] to length-zero-no-unit (#​5314).
  • Added: ignoreAtRules: [] to no-invalid-position-at-import (#​5520).
  • Added: ignoreProperties: [] to number-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 for flex property (#​5315).
  • Fixed: media-feature-name-no-unknown false positives for prefers-contrast (#​5428).
  • Fixed: media-feature-name-no-unknown false positives for dynamic-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 for grid and grid-template shorthand properties (#​5514).
  • Fixed: unit-no-unknown false positives for nested property declarations (#​5500).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports