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

Update dependency stylelint to v13 #3734

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stylelint (source) ~9.6.0 -> ~13.13.0 age adoption passing confidence

Release Notes

stylelint/stylelint (stylelint)

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 and comments (#​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).

v9.10.1

Compare Source

  • Fixed: "fatal: Not a git repository" error (#​3915).
  • Fixed: unintended increase in package size (#​3915).

v9.10.0

Compare Source

  • Added: support for ordinary regular expressions anywhere a regex string is accepted in rule config (#​3799).
  • Added: css-in-js syntax option that will replace the existing styled and jsx ones (#​3872).
  • Added: function-calc-no-invalid rule (#​3833).
  • Added: ignore: ["next-sibling"] to selector-max-type (#​3832).
  • Added: declaration-block-semicolon-space-after autofix (#​3865).
  • Fixed: autofix is now disabled when a Stylelint processors is used (#​3873).
  • Fixed: CssSyntaxError for functions in template literals (#​3869).
  • Fixed: no-descending-specificity false positives for styled-components (#​3875).
  • Fixed: no-duplicate-selectors false positives for styled-components (#​3875).
  • Fixed: selector-pseudo-class-no-unknown false positives for focus-visible (#​3887).
  • Fixed: selector-max-universal false positives for flush comments containing a comma (#​3817).
  • Fixed: shorthand-property-redundant-values false positives for negative values (#​3888).

v9.9.0

Compare Source

  • Added: selector-list-comma-newline-after autofix (#​3815).
  • Added: value-list-max-empty-lines autofix (#​3814).
  • Added: ignoreSelectors: [] to selector-no-vendor-prefix (#​3748).
  • Fixed: ignored files are no longer parsed (#​3801).
  • Fixed: ignore &:extend for Less syntax (#​3824).
  • Fixed: --report-needless-disables CLI flag (#​3819).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for system fonts (#​3794).

v9.8.0

Compare Source

  • Added: value-keyword-case autofix (#​3775).
  • Added: ignore: ["pseudo-classes"] to max-nesting-depth (#​3724).
  • Added: ignoreTypes:[] to selector-type-case (#​3758).
  • Added: ignoreFunctions:[] to unit-no-unknown (#​3736).
  • Fixed: error for single-line Sass comments (#​3772).
  • Fixed: at-rule-* false positives for Less variables and mixins (#​3767).
  • Fixed: max-empty-lines false positives for final newlines (#​3785).

v9.7.1

Compare Source

  • Fixed: at-rule-* false positives for Less variables and mixins (#​3759).

v9.7.0

Compare Source

  • Added: allow globally installed configuration (#​3642).
  • Added: media-feature-parentheses-space-inside autofix (#​3720).
  • Added: selector-descendant-combinator-no-non-space autofix (#​3565).
  • Added: unit-case autofix (#​3725).
  • Fixed: false negatives for Less at-imports (#​3687).
  • Fixed: SyntaxError when an empty string is used for a rule's custom message (#​3743).
  • Fixed: max-empty-lines false positives for empty lines before </style> (#​3708).
  • Fixed: selector-max-specificity false positives for functional pseudo-classes (#​3711).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.

Copy link

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: xwiki-platform-core/xwiki-platform-bootstrap/src/main/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/stylelint
npm error   dev stylelint@"~13.13.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer stylelint@"^9.0.0" from [email protected]
npm error node_modules/grunt-stylelint
npm error   dev grunt-stylelint@"^0.10.1" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/stylelint
npm error   peer stylelint@"^9.0.0" from [email protected]
npm error   node_modules/grunt-stylelint
npm error     dev grunt-stylelint@"^0.10.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-12-08T23_36_48_177Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-12-08T23_36_48_177Z-debug-0.log

@tmortagne tmortagne added the dependencies A dependency upgrade label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies A dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants