Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 6, 2020

This PR contains the following updates:

Package Type Update Change
stylelint (source) devDependencies major ^9.8.0 -> ^13.0.0

Release Notes

stylelint/stylelint

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).

v10.0.1

Compare Source

  • Fixed: minimum Node.js engine reduced to 8.7.0 (#​4032).
  • Fixed: --allow-empty-input CLI flag (#​4029).
  • Fixed: color-no-invalid-hex false positives for hashes in URLs (#​4035).
  • Fixed: function-linear-gradient-no-nonstandard-direction false positives for dollar variables (#​4027).

v10.0.0

Compare Source

  • Removed: Node.js 6.x support. Node.js 8.15.1 or greater is now required (#​4006).
  • Removed: styled and jsx syntax options that were replaced with css-in-js in v9.10.0 (#​4007).
  • Changed: throws error if glob matches no files, use the --allow-empty-input flag for the old behaviour (#​3965).
  • Changed: rules are now applied in the order defined in lib/rules/index.js (#​3923).
  • Added: at-rule-property-requirelist rule (#​3997).
  • Added: disallowInList to no-duplicate-selectors (#​3936).
  • Added: ignore: ["comments"] to block-no-empty (#​4008).
  • Fixed: false negatives in declaration-based rules for CSS-in-JS (#​3933).
  • Fixed: color-no-invalid-hex false negatives for CSS-in-JS (#​3957).
  • Fixed: feature-name-no-unknown false positives for prefers-color-scheme (#​3951).
  • Fixed: function-calc-no-invalid false positives for negative numbers (#​3921).
  • Fixed: no-descending-specificity false positives for vendor prefixed pseudo-elements (#​3929).
  • Fixed: selector-max-* false negatives for nested at-rules (#​3959).
  • Fixed: Logical combinations pseudo-classes in selector-max-universal are now evaluated separately (#​4263).
  • Fixed: value-keyword-case autofix for single-line comments within maps (#​4019).

Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ 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.

@renovate renovate bot requested a review from vforge as a code owner March 6, 2020 14:12
@renovate renovate bot assigned vforge Mar 6, 2020
@renovate renovate bot changed the title Update dependency stylelint to v13 Update dependency stylelint to v13 - autoclosed Mar 6, 2020
@renovate renovate bot closed this Mar 6, 2020
@renovate renovate bot deleted the renovate/stylelint-13.x branch March 6, 2020 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants