build(deps): allow ESLint 10 for jsx-a11y peer (silence install warning)#752
Merged
Conversation
ESLint 10 is the current stable major and lint passes on it. eslint-plugin-jsx-a11y@6.10.2 still declares a peer cap of <=9, producing an install-time unmet-peer warning. Add a scoped pnpm peerDependencyRules allowance so the warning is silenced without downgrading off current stable. (@docusaurus/eslint-plugin already declares >=6, so no rule needed there.)
Deploying zsh with
|
| Latest commit: |
9a84f55
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://277d47f0.zsh.pages.dev |
| Branch Preview URL: | https://bug-eslint-peer-rule.zsh.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the pnpm workspace configuration to silence an install-time peer dependency warning by explicitly allowing ESLint 10 for eslint-plugin-jsx-a11y, without changing dependency resolution or the lockfile.
Changes:
- Add a
peerDependencyRules.allowedVersionsentry allowingeslint-plugin-jsx-a11yto accepteslint@^10.
| serialize-javascript: "7.0.5" | ||
| uuid: "14.0.0" | ||
|
|
||
| # Allow ESLint 10 (current stable) for plugins whose declared peer range |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ZSH-11 follow-up. ESLint 10 is the current stable major (verified via Context7) and lint passes on it. The only install-time peer warning comes from
eslint-plugin-jsx-a11y@6.10.2, whose declared peer caps at^9. Adds a scopedpnpmpeer rule allowing eslint 10, silencing the warning without downgrading off current stable.@docusaurus/eslint-pluginalready declareseslint: >=6— no rule needed (the earlier "^6-8" reading was imprecise).Test plan
pnpm installno longer warns about jsx-a11y/eslint peer