Skip to content

build: update dependency stylelint to v16 #31429

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

Closed

Conversation

angular-robot
Copy link
Collaborator

This PR contains the following updates:

Package Type Update Change
stylelint (source) devDependencies major ^14.14.0 -> ^16.0.0

Release Notes

stylelint/stylelint (stylelint)

v16.21.0

Compare Source

It rounds out the message secondary option and marks it as stable, adds 1 new option to a rule, and fixes 4 bugs.

v16.20.0

Compare Source

It fixes 2 bugs with the built-in rules.

v16.19.1

Compare Source

It fixes 1 bug with the no-empty-source rule.

v16.19.0

Compare Source

It adds 2 options to 2 rules and fixes 3 bugs.

  • Added: exceptWithoutPropertyFallback: [] to function-allowed-list (#​8488) (@​ryo-manba).
  • Added: ignore: ["four-into-three-edge-values"] to shorthand-property-no-redundant-values (#​8527) (@​ryo-manba).
  • Fixed: compact formatter with pnpm to newline the exit code (#​8534) (@​konomae).
  • Fixed: declaration-property-value-no-unknown range and message for invalid syntax within known functions (#​8528) (@​ryo-manba).
  • Fixed: no-empty-source false positives for --report-needless-disables (#​8536) (@​romainmenke).

v16.18.0

Compare Source

It adds 2 new rules and fixes 2 bugs. We've turned on these rules, and the syntax-string-no-invalid and layer-name-pattern ones from recent releases, in our standard config.

v16.17.0

Compare Source

It adds 1 new rule, support for languageOptions to 2 rules, 1 option to a rule, the --compute-edit-info CLI flag (along with support for EditInfo in 3 rules), and fixes 1 bug. EditInfo is useful for automated fixing tools and editor integrations.

v16.16.0

Compare Source

It adds support for computing EditInfo to 22 more rules and reverts a change that added context.lexer to our public API in the previous release.

v16.15.0

Compare Source

It adds 1 new rule, a languageOptions configuration property for configuring some of the new rules added in 16.13.0, regex support to 1 option and support for computing EditInfo to 6 rules. It fixes 9 bugs, including 2 with the tap reporter.

v16.14.1

Compare Source

It fixes a bug with caching.

v16.14.0

Compare Source

It fixes 8 bugs and adds features to our Warning type.

  • Added: replaced text and corresponding range to Warning type (#​8234) (@​romainmenke).
  • Fixed: SyntaxError: The requested module 'table'... (#​8325) (@​denisx).
  • Fixed: RuleContext['fix'] type (#​8309) (@​Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated autofix of border-color and overflow (#​8346) (@​Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false negatives for overflow-x and overflow-y (#​8340) (@​Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false negatives for scrollbar-color (#​8346) (@​Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated false positives for non-standard syntax values (#​8329) (@​Mouvedia).
  • Fixed: declaration-property-value-keyword-no-deprecated warning message for overflow: <keyword> <keyword> (#​8340) (@​Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for :has-slotted (#​8332) (@​Mouvedia).

v16.13.2

Compare Source

It fixes a regression bug with --fix.

v16.13.1

Compare Source

It fixes one bug due to an upstream change in our ignore dependency.

v16.13.0

Compare Source

It adds 3 rules to help you write error-free at-rules and 2 rules to warn you about deprecated CSS features. We've turned these rules on in our standard config.

It also adds new rule options, a feature to display how long rules take, lax autofix and support for messageArgs in more rules. It fixes 7 bugs.

Lastly, we've made a deprecation that may affect some plugins. We've updated our docs for plugin authors and end users on how to silence deprecation warnings.

  • Deprecated: ambiguous position arguments passed to utils.report() (#​8244) (@​romainmenke).
  • Added: lax/strict values to the fix Node.js API option and CLI flag (#​8106) (@​ryo-manba).
  • Added: support for profiling rule performance via the TIMING environment variable (#​8108) (@​ryo-manba).
  • Added: at-rule-descriptor-no-unknown rule (#​8197) (@​ryo-manba).
  • Added: at-rule-descriptor-value-no-unknown rule (#​8211) (@​ryo-manba).
  • Added: at-rule-no-deprecated rule (#​8251) (@​jeddy3).
  • Added: at-rule-prelude-no-invalid rule (#​8268) (@​ryo-manba).
  • Added: declaration-property-value-keyword-no-deprecated rule (#​8223) (@​Mouvedia).
  • Added: "ignore": ["at-rule-preludes", "declaration-values"] to string-no-newline (#​8214) (@​ryo-manba).
  • Added: messageArgs to declaration-property-value-no-unknown, font-family-name-quotes, font-family-no-duplicate-names, function-calc-no-unspaced-operator, import-notation, media-feature-name-unit-allowed-list, selector-attribute-quotes and selector-pseudo-element-colon-notation (#​8285 & #​8252) (@​Mouvedia).
  • Fixed: deprecation warnings to only display once per (custom) rule (#​8265) (@​romainmenke).
  • Fixed: *-no-vendor-prefix message ambiguity (#​8239) (@​Mouvedia).
  • Fixed: at-rule-(dis)allowed-list, at-rule-no-vendor-prefix, at-rule-property-required-list message argument (#​8277) (@​Mouvedia).
  • Fixed: at-rule-property-required-list message for inclusion of properties and descriptors (#​8207) (@​jeddy3).
  • Fixed: at-rule-* false positives and negatives for @charset rule (#​8215) (@​jeddy3).
  • Fixed: declaration-property-value-no-unknown false positives for descriptors (#​8240) (@​jeddy3).
  • Fixed: property-(dis)allowed-list false negatives for custom properties, use /^--/ to (dis)allow them (#​8209) (@​fbasmaison-lucca).
  • Fixed: property-no-unknown false positives for descriptors (#​8203) (@​jeddy3).
  • Fixed: selector-pseudo-class-no-unknown false positives for deprecated pseudo-classes (#​8264) (@​Mouvedia).
  • Fixed: selector-type-case false positives for hatchPath (#​8264) (@​Mouvedia).
  • Fixed: selector-type-no-unknown false positives for shadow, hatch and hatchpath (#​8264) (@​Mouvedia).

v16.12.0

Compare Source

  • Added: selector-pseudo-class-allowed-list now checks @page pseudo-classes (#​8176) (@​Mouvedia).
  • Added: selector-pseudo-class-disallowed-list now checks @page pseudo-classes (#​8171) (@​Mouvedia).
  • Fixed: at-rule-property-required-list message to use "descriptor" for accuracy (#​8186) (@​ybiquitous).
  • Fixed: custom-property-no-missing-var-function false positives for container-name (#​8157) (@​Mouvedia).
  • Fixed: custom-property-no-missing-var-function false positives for custom properties passed to running() (#​8172) (@​Mouvedia).
  • Fixed: function-no-unknown false positives for running() (#​8172) (@​Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for :open (#​8184) (@​lukewarlow).
  • Fixed: selector-pseudo-class-no-unknown false positives for :recto, :verso and :nth() (#​8170) (@​Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for some moz-* vendor-prefixed pseudo-classes (#​8188) (@​Mouvedia).
  • Fixed: selector-pseudo-element-no-unknown false positives for ::details-content (#​8174) (@​lukewarlow).
  • Fixed: selector-type-no-unknown false positives for idents in functional pseudo-classes (#​8191) (@​elskhn).
  • Fixed: value-keyword-case false negatives (#​8158) (@​Mouvedia).
  • Fixed: value-keyword-case false positives for vendor-prefixed system colors (#​8146) (@​Mouvedia).

v16.11.0

Compare Source

v16.10.0

Compare Source

v16.9.0

Compare Source

  • Changed: secondaryOptions argument type of the Rule function (#​7950) (@​Mouvedia).
  • Fixed: color-function-notation reporting functions with less than 3 arguments (#​7948) (@​Mouvedia).
  • Fixed: declaration-property-value-no-unknown false positives/negatives (#​7944 & #​7957 & #​7956) (@​Mouvedia & @​sidverma32).
    • false positives: overflow, word-break, width
    • false negatives: anchor-name, field-sizing, text-box-edge, text-box-trim, text-spacing-trim, text-wrap, text-wrap-mode, text-wrap-style, view-timeline, view-timeline-axis, view-timeline-inset, view-timeline-name, view-transition-name
  • Fixed: keyframe-block-no-duplicate-selectors/keyframe-declaration-no-important/keyframe-selector-notation/no-unknown-animations false negatives for @-o-keyframes and @-ms-keyframes (#​7953) (@​Mouvedia).
  • Fixed: no-duplicate-selectors reported ranges (#​7938) (@​romainmenke).
  • Fixed: property-no-vendor-prefix report for -webkit-background-size (#​7940) (@​Mouvedia).
  • Fixed: selector-class-pattern reported ranges (#​7959) (@​Mouvedia).
  • Fixed: selector-no-qualifying-type reported ranges (#​7937) (@​romainmenke).
  • Fixed: honour Node.js --no-deprecation flag for rule deprecation warnings (#​7943) (@​Mouvedia).

v16.8.2

Compare Source

v16.8.1

Compare Source

v16.8.0

Compare Source

v16.7.0

Compare Source

v16.6.1

Compare Source

v16.6.0

Compare Source

v16.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 5:00am every weekday,every weekend" in timezone America/Tijuana, 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 has been generated by Renovate Bot.

See associated pull request for more information.
@angular-robot angular-robot requested a review from a team as a code owner June 25, 2025 05:07
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project labels Jun 25, 2025
@angular-robot angular-robot requested review from wagnermaciel and ok7sai and removed request for a team June 25, 2025 05:07
@crisbeto
Copy link
Member

Closing in favor of #31433.

@crisbeto crisbeto closed this Jun 25, 2025
@angular-robot angular-robot deleted the ng-renovate/stylelint-16-x branch June 25, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants