Skip to content

Update dependency stylelint to v13

Warren Gifford requested to merge renovate/stylelint-13.x into master

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
stylelint (source) devDependencies major ^13.3.3 homepage, source code search for "stylelint"

Release Notes

stylelint/stylelint

v13.3.3

Compare Source

  • Fixed: autofix will respect scoped disable comments by turning off autofix for the scoped rules for the entire source; this is a continuation of the workaround added in 13.2.0 (#​4705).

v13.3.2

Compare Source

  • Fixed: update postcss-css-in-js with fix for maximum call stack size exceeded error (#​4701).

v13.3.1

Compare Source

v13.3.0

Compare Source

  • Added: ignoreFontFamilies: [] to font-family-no-missing-generic-family-keyword (#​4656).
  • Fixed: function-calc-no-invalid false positives for SCSS and Less variables (#​4659).
  • Fixed: unit-no-unknown false positives for x unit within vendor-prefixed image-set (#​4654).

v13.2.1

Compare Source

  • Fixed: selector-pseudo-element-no-unknown false positives for ::part pseudo-element (#​4604).
  • Fixed: value-keyword-case false positives for longhand grid-column/row-* properties (#​4611).

v13.2.0

Compare Source

  • Security: updated to postcss-selector-parser@6 due to a vulnerability in one of postcss-selector-parser@3 dependencies (#​4595). Due to this update:
    • selector-descendant-combinator-no-non-space will ignore selectors containing comments
    • selector-pseudo-class-parentheses-space-inside can't autofix pseudo-classes that contain comments
  • Added: --stdin CLI flag that accepts stdin input even if it is empty (#​4594).
  • Fixed: autofix will ignore sources containing disable comments or nested tagged template literals - this is workaround to make autofix safer to use until we can resolve the underlying issues (#​4573).

v13.1.0

Compare Source

  • Fixed: media-feature-name-* false negatives for range context (#​4581).
  • Fixed: indentation RangeError regression (#​4572).
  • Fixed: string-quotes attribute selector autofix (#​4576).

v13.0.0

Compare Source

  • Removed: Node.js 8.x support. Node.js 10 is now required. We can guarantee stylelint works on the latest Node.js 10 release. (#​4500).
  • Removed: types declarations for Flow (#​4451).
  • Changed: globby was updated to v10. Now only forward-slashes (/) should be used as directory separator in globs. Refer to glob pattern syntax. Most of the users wouldn't need to change anything, but Windows users might need to update their globs. (#​4254).
  • Added: unit-no-unknown support for x unit (#​4427).
  • Fixed: --report-invalid-scope-disables crash when no rules specified (#​4498).
  • Fixed: media-feature-parentheses-space-inside false negatives for multiple spaces (#​4513).
  • Fixed: selector-type-no-unknown false positives for SVG tags (#​4495).
  • Fixed: unit-no-unknown false positives for Sass map keys (#​4450).
  • Fixed: value-list-comma-newline-after false positives for shared-line comments (#​4482).
  • Fixed: consistently check that selectors are standard before passing to the parser (#​4483).
  • Fixed: overlapping disabled ranges edge case (#​4497).

v12.0.1

Compare Source

  • Fixed: string-no-newline memory leak for ERB templates (#​4491).

v12.0.0

Compare Source

  • Removed: ignoring bower_components folder by default (#​4384).
  • Removed: createRuleTester API (#​4385).
  • Added: more information for custom formatters (#​4393).
  • Fixed: comment-empty-line-before false positives for selector lists and shared-line comments (#​4360).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for Sass-variables with namespaces (#​4378).
  • Fixed: font-weight-notation false positives for font-weight ranges in @font-face (#​4372).
  • Fixed: length-zero-no-unit false positives for line-height, and for fr units (#​4394).
  • Fixed: length-zero-no-unit false positives for Less variables (#​4405).
  • Fixed: selector-max-* false negatives for rules with nested rules (#​4357).
  • Fixed: incorrect error message when parsing files with a broken syntax (#​4364).

v11.1.1

Compare Source

  • Fixed: syntax configuration for --syntax css (#​4335).

v11.1.0

Compare Source

  • Added: css syntax option (#​4315).
  • Fixed: no-eol-whitespace parsing problems for non-standard syntaxes (#​4313).
  • Fixed: selector-pseudo-class-no-unknown false positives for :is selector (#​4321).

v11.0.0

Compare Source

  • Changed: --report-needless-disables CLI flag now reports needless disables and runs linting (#​4151).
  • Changed: display a violation at 1:1 for each file instead of throwing an error on unrecognised rules (#​4237).
  • Changed: always return stylelintError as a boolean (#​4174).
  • Deprecated: createRuleTester API (#​4279).
  • Added: --reportInvalidScopeDisables CLI flag (#​4181).
  • Added: unicode-bom rule (#​4225).
  • Added: max-empty-lines autofix (#​3667).
  • Added: selector-pseudo-element-case autofix (#​3672).
  • Added: selector-* support for all logical combinations (:matches, :has) (#​4179).
  • Added: ignore: ["selectors-within-list"] to no-descending-specificity (#​4176).
  • Added: ignoreSelectors: [] to property-no-unknown (#​4275).
  • Fixed: Babel user configuration interfering with CSS-in-JS parser (#​4164).
  • Fixed: PostCSS plugin ignoring .stylelintignore (#​4186).
  • Fixed: *-max-empty-lines to only report one violation per function, selector, value list (#​4260).
  • Fixed: block-no-empty crash for @import statements (#​4110).
  • Fixed: indentation false positives for <style> tag with multiline attributes (#​4177).
  • Fixed: length-zero-no-unit false positives for inside calc function (#​4175).
  • Fixed: max-line-length false positives for multi-line url() (#​4169).
  • Fixed: no-duplicate-selectors false positives for selectors in the same selector list (#​4173).
  • Fixed: no-unit-unknown false positives for at-variables (Less) starting with numbers (#​4163).
  • Fixed: property-no-unknown for overflowX for CSS-in-JS (#​4184).

v10.1.0

Compare Source

  • Added: selector-max-empty-lines autofix (#​3717).
  • Added: rule names for --report-needless-disables output (#​4071).
  • Added: --output-file CLI flag (#​4085).
  • Fixed: function-calc-no-invalid false positives for interpolation (#​4046).
  • Fixed: declaration-block-semicolon-space-before autofix with !important annotations (#​4016).
  • Fixed: no-eol-whitespace autofix for within comments (#​4224).
  • Fixed: no-eol-whitespace false negatives for last line without trailing EOL (#​4224).
  • Fixed: selector-pseudo-class-no-unknown false positives for defined (#​4081).

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Enabled.

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

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


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading