Skip to content

Update dependency stylelint to v14 - autoclosed

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

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
stylelint (source) ^13.13.1 -> ^14.0.0 age adoption passing confidence

Release Notes

stylelint/stylelint

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 is behind base branch, 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.

Edited by Renovate Bot

Merge request reports