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 v11 #3732

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 -> ~11.1.0 age adoption passing confidence

Release Notes

stylelint/stylelint (stylelint)

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@"~11.1.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_24_497Z-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_24_497Z-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