Fix eslint 10 upgrade: resolve peer dependency conflicts and remove vulnerable unused deps#47
Merged
eriksw merged 4 commits intodependabot/npm_and_yarn/eslint-10.0.2from Mar 3, 2026
Conversation
Co-authored-by: eriksw <24530198+eriksw@users.noreply.github.com>
…o audit alerts Co-authored-by: eriksw <24530198+eriksw@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Bump eslint from 9.39.3 to 10.0.2
Fix eslint 10 upgrade: resolve peer dependency conflicts and remove vulnerable unused deps
Mar 3, 2026
Contributor
|
@copilot It is not possible to verify the correctness of this sub-pr because the workflows are configured to only run on PRs with the main base branch. Reconfigure PR workflows to run whatever the base branch is. |
…tacked PRs Co-authored-by: eriksw <24530198+eriksw@users.noreply.github.com>
Contributor
Author
Done in d7f54d5. Removed the |
5a447e3
into
dependabot/npm_and_yarn/eslint-10.0.2
28 checks passed
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.
eslint-plugin-import@2.32.0only declares peer support up to eslint^9, causingnpm cito fail withERESOLVEon all jobs. ESLint 10 also no longer bundles@eslint/eslintrcor@eslint/js.Dependency changes
eslint-plugin-import,eslint-import-resolver-typescript,@eslint/compat— allimport/rules in the config were already disabled, so these provided no value@eslint/eslintrc ^3.3.4and@eslint/js ^10.0.1explicitly — required byeslint.config.mjsbut no longer bundled by ESLint 10prettier-eslint— unused devDependency pulling in@typescript-eslint/typescript-estree@6-7.x→minimatch@9.0.0–9.0.6(4 high CVEs)@typescript-eslint/eslint-plugin+@typescript-eslint/parser→^8.56.1,rollup→^4.59.0Override changes
@typescript-eslint/typescript-estree: {minimatch: "^9.0.7"}— that package now requiresminimatch@^10.2.2directly; override was stale and producinginvalidwarnings@actions/artifact: "^6.2.0"and@actions/github: "^9.0.0"— confirmed security-necessary: removing them allows@github/local-actionto pull inundici < 6.23.0(GHSA-g9mf-h72j-4rw9, 5 moderate CVEs)Config changes
Removed from
eslint.config.mjs:Workflow changes
branches: [main]filter from thepull_request:trigger in all 5 workflow files (ci.yml,check-dist.yml,linter.yml,codeql-analysis.yml,signal-test.yml) — workflows now run on PRs targeting any base branch;push:triggers remain scoped tomain✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.