Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency stylelint to v14 #102

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

stylelint/stylelint

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

v13.13.1

Compare Source

  • Fixed: invalid JSON for max-warnings option (#​5267).
  • Fixed: no-invalid-position-at-import-rule false positives for dollar variables (#​5264).

v13.13.0

Compare Source

  • Added: no-invalid-position-at-import-rule rule (#​5202).
  • Added: no-irregular-whitespace rule (#​5209).
  • Added: selector-disallowed-list rule (#​5239).
  • Added: selector-attribute-quotes autofix (#​5248).
  • Added: ignore: ["inside-function"] to declaration-property-unit-allowed-list (#​5194).
  • Fixed: color-no-hex false positives for CSS-in-JS objection notation (#​5186).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for variables (#​5240).
  • Fixed: length-zero-no-unit autofix removing trailing zeroes (#​5256).
  • Fixed: length-zero-no-unit false positives for level 4 math functions (#​5203).
  • Fixed: length-zero-no-unit false positives for functions inside of math functions (#​5245).

v13.12.0

Compare Source

  • Added: named-grid-areas-no-invalid rule (#​5167).
  • Added: ignore: ["single-declaration"] to declaration-block-trailing-semicolon (#​5165).
  • Fixed: *-no-unknown false positives (#​5158).
  • Fixed: selector-pseudo-class-no-unknown false positives for :autofill (#​5171).

v13.11.0

Compare Source

  • Added: exceptions and severity options to report* configuration object properties (#​5143).

v13.10.0

Compare Source

  • Added: ignoreDisables, reportNeedlessDisables, reportInvalidScopeDisables and reportDescriptionlessDisables configuration object properties (#​5126).
  • Added: declaration-block-no-duplicate-custom-properties rule (#​5125).
  • Fixed: alpha-value-notation false negatives for CSS Variables (#​5130).

v13.9.0

Compare Source

  • Added: TAP formatter (#​5062).
  • Fixed: incorrect exit code when using --report options (#​5079).
  • Fixed: color-hex-case false negatives for css-in-js object notation (#​5101).
  • Fixed: color-hex-length false negatives for css-in-js object notation (#​5106).
  • Fixed: selector-attribute-name-disallowed-list false positives for valueless attribute selectors (#​5060).

v13.8.0

Compare Source

  • Deprecated: StylelintStandaloneReturnValue.reportedDisables, .descriptionlessDisables, .needlessDisables, and .invalidScopeDisables. .reportedDisables will always be empty and the other properties will always be undefined, since these errors now show up in .results instead (#​4973).
  • Added: disable comments that are reported as errors for various reasons are now reported as standard lint errors rather than a separate class of errors that must be handled specially (#​4973).
  • Added: comment-pattern rule (#​4962).
  • Added: selector-attribute-name-disallowed-list rule (#​4992).
  • Added: ignoreAtRules[] to property-no-unknown (#​4965).
  • Fixed: *-notation false negatives for dollar variables (#​5031).
  • Fixed: *-pattern missing configured pattern in problem messages (#​4975).

v13.7.2

Compare Source

  • Fixed: regression for disable commands and adjacent double-slash comments (#​4950).
  • Fixed: use of full file path without converting it to glob (#​4931).

v13.7.1

Compare Source

  • Fixed: double-slash disable comments when followed by another comment (#​4913).

v13.7.0

Compare Source

  • Deprecated: *-blacklist, *-requirelist and *-whitelist rules in favor of the new *-disallowed-list, *-required-list and *-allowed-list ones (#​4845):
    • at-rule-blacklist. Use at-rule-disallowed-list instead.
    • at-rule-property-requirelist. Use at-rule-property-required-list instead.
    • at-rule-whitelist. Use at-rule-allowed-list instead.
    • comment-word-blacklist. Use comment-word-disallowed-list instead.
    • declaration-property-unit-blacklist. Use declaration-property-unit-disallowed-list instead.
    • declaration-property-unit-whitelist. Use declaration-property-unit-allowed-list instead.
    • declaration-property-value-blacklist. Use declaration-property-value-disallowed-list instead.
    • declaration-property-value-whitelist. Use declaration-property-value-allowed-list instead.
    • function-blacklist. Use function-disallowed-list instead.
    • function-url-scheme-blacklist. Use function-url-scheme-disallowed-list instead.
    • function-url-scheme-whitelist. Use function-url-scheme-allowed-list instead.
    • function-whitelist. Use function-allowed-list instead.
    • media-feature-name-blacklist. Use media-feature-name-disallowed-list instead.
    • media-feature-name-value-whitelist. Use media-feature-name-value-allowed-list instead.
    • media-feature-name-whitelist. Use media-feature-name-allowed-list instead.
    • property-blacklist. Use property-disallowed-list instead.
    • property-whitelist. Use property-allowed-list instead.
    • selector-attribute-operator-blacklist. Use selector-attribute-operator-disallowed-list instead.
    • selector-attribute-operator-whitelist. Use selector-attribute-operator-allowed-list instead.
    • selector-combinator-blacklist. Use selector-combinator-disallowed-list instead.
    • selector-combinator-whitelist. Use selector-combinator-allowed-list instead.
    • selector-pseudo-class-blacklist. Use selector-pseudo-class-disallowed-list instead.
    • selector-pseudo-class-whitelist. Use selector-pseudo-class-allowed-list instead.
    • selector-pseudo-element-blacklist. Use selector-pseudo-element-disallowed-list instead.
    • selector-pseudo-element-whitelist. Use selector-pseudo-element-allowed-list instead.
    • unit-blacklist. Use unit-disallowed-list instead.
    • unit-whitelist. Use unit-allowed-list instead.
  • Added: syntax object acceptance to customSyntax option (#​4839).
  • Added: support for *.cjs config files (#​4905).
  • Added: support for descriptions in Stylelint command comments (#​4848).
  • Added: reportDescriptionlessDisables flag (#​4907).
  • Added: reportDisables secondary option (#​4897).
  • Added: *-no-vendor-prefix autofix (#​4859).
  • Added: ignoreComments[] to comment-empty-line-before (#​4841).
  • Added: ignoreContextFunctionalPseudoClasses to selector-max-id (#​4835).
  • Fixed: inconsistent trailing newlines in CLI error output (#​4876).
  • Fixed: support for multi-line disable descriptions (#​4895).
  • Fixed: support for paths with parentheses (#​4867).
  • Fixed: selector-max-* (except selector-max-type) false negatives for where, is, nth-child and nth-last-child (#​4842).
  • Fixed: length-zero-no-unit TypeError for custom properties fallback (#​4860).
  • Fixed: selector-combinator-space-after false positives for trailing combinator (#​4878).

v13.6.1

Compare Source

  • Fixed: max-empty-lines TypeError from inline comment with autofix and sugarss syntax (#​4821).
  • Fixed: property-no-unknown false positives for namespaced variables (#​4803).
  • Fixed: selector-type-no-unknown false positives for idents within ::part pseudo-elements (#​4828).

v13.6.0

Compare Source

  • Added: ignoreSelectors[] to block-opening-brace-space-before (#​4640).
  • Fixed: false positives for all scope disables in --report-invalid-scope-disables (#​4784).
  • Fixed: TypeError for CSS-in-JS when encountering a call or template expression named 'html' (#​4797).
  • Fixed: writing error information to stderr (#​4799).
  • Fixed: minimum node version in package.json's engine field (#​4790).
  • Fixed: alpha-value-notation number precision errors (#​4802).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for variables (#​4806).
  • Fixed: no-duplicate-selectors false positives for universal selector and disallowInList (#​4809).

v13.5.0

Compare Source

  • Added: alpha-value-notation rule (#​4770).
  • Added: color-function-notation rule (#​4760).
  • Added: hue-degree-notation rule (#​4769).

v13.4.1

Compare Source

  • Fixed: time-min-milliseconds TypeError for ignore: ["delay"] and shorthand animation (#​4783).

v13.4.0

Compare Source

  • Added: ignore:["delay"] to time-min-milliseconds (#​4743).
  • Added: ignoreFunctions: [] to value-keyword-case (#​4733).
  • Fixed: improved performance when auto syntax is used (#​4729).
  • Fixed: --report-needless-disables respects stylelint-disable commands (#​4714).
  • Fixed: at-rule-property-requirelist TypeError for comments inside of font-face (#​4744).
  • Fixed: declaration-block-trailing-semicolon false positives for CSS-in-JS object notation (#​4749).
  • Fixed: declaration-empty-line-before false positives for inlines styles (#​4726).
  • Fixed: media-feature-name-* false positives for forced-colors (#​4775).
  • Fixed: value-keyword-case false positives WebExtension replacement keywords (#​4778).
  • Fixed: value-keyword-case false positives regression for mixed-case properties and the ignoreProperties option (#​4748).

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 problem at 1:1 for each file instead of throwing an error on unrecognized 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 problem 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 behavior (#​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).

Configuration

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

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot requested a review from a team as a code owner November 17, 2021 19:40
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 17, 2021

@renovate renovate bot force-pushed the renovate/stylelint-14.x branch 2 times, most recently from fc834d6 to 909b7b0 Compare November 18, 2021 02:12
@kodiakhq kodiakhq bot removed the Ready to merge label Nov 18, 2021
@kodiakhq
Copy link

kodiakhq bot commented Nov 18, 2021

This PR currently has a merge conflict. Please resolve this and then re-add the Ready to merge label.

@renovate renovate bot force-pushed the renovate/stylelint-14.x branch 7 times, most recently from 8273be3 to f46a97c Compare November 18, 2021 03:25
@kodiakhq kodiakhq bot removed the Ready to merge label Nov 19, 2021
@kodiakhq
Copy link

kodiakhq bot commented Nov 19, 2021

This PR currently has a merge conflict. Please resolve this and then re-add the Ready to merge label.

@renovate renovate bot force-pushed the renovate/stylelint-14.x branch 3 times, most recently from 30dbdb3 to 8b42e3e Compare November 19, 2021 01:28
@kodiakhq kodiakhq bot merged commit 062f315 into master Nov 19, 2021
@kodiakhq kodiakhq bot deleted the renovate/stylelint-14.x branch November 19, 2021 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants