Update ESLint monorepo to v10 (major)#7861
Update ESLint monorepo to v10 (major)#7861Copilot wants to merge 3 commits intorenovate/major-eslint-monorepofrom
Conversation
ff58be3 to
ed03832
Compare
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot this breaks the linting in the vue example. Fix that |
Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
Fixed in commit 87d0782. The Vue example linting failure was caused by Changes made:
Verified that Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Upgrades ESLint from v9.39.2 to v10.0.0, including the
@eslint/jspackage to v10.0.1, and updates Vue example dependencies for compatibility.Changes
^9.39.2→^10.0.0^9.39.2→^10.0.1Vue Example Compatibility
^9.32.0→^10.8.0(in examples/vue)^14.6.0→^14.7.0(in examples/vue)Compatibility
The existing flat config format in
eslint.config.mjsis fully compatible with ESLint v10. All root-level plugins (@typescript-eslint,eslint-plugin-import,eslint-plugin-jsdoc,@stylistic/eslint-plugin) work with the new version without modification.The Vue example required updating
eslint-plugin-vueand@vue/eslint-config-typescriptto versions that support ESLint v10's new API, as the older versions used deprecated methods likecontext.getSourceCodethat were removed in ESLint v10.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.