Skip to content

Update dependency stylelint to v14

Stackspin-renovate Bot requested to merge renovate/stylelint-14.x into main

This MR contains the following updates:

Package Type Update Change
stylelint (source) devDependencies major ^13.13.1 -> 14.6.1

Release Notes

stylelint/stylelint

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: 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, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports