Add ESLint v10 required dependencies and restore .eslintignore#1906
Closed
Copilot wants to merge 6 commits into
Closed
Add ESLint v10 required dependencies and restore .eslintignore#1906Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
- Add @eslint/js and @eslint/eslintrc as explicit dependencies - Update eslint-plugin-jest to v29.15.0 - Add resolution for @typescript-eslint/utils@^8.56.0 - Remove deprecated .eslintignore file (replaced by ignores in config) - Patch eslint-plugin-react for ESLint v10 compatibility (getFilename/getSourceCode methods) Co-authored-by: Caele <6318307+Caele@users.noreply.github.com>
d2e5046 to
3818f78
Compare
Add patch-package to maintain eslint-plugin-react compatibility fixes until official ESLint v10 support is released Co-authored-by: Caele <6318307+Caele@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix eslint issues introduced by update to v10
Fix ESLint v10 compatibility
Feb 16, 2026
The previous solution incorrectly patched eslint-plugin-react and deleted .eslintignore. Starting over with a cleaner approach. Co-authored-by: Caele <6318307+Caele@users.noreply.github.com>
- Add @eslint/js and @eslint/eslintrc as explicit dependencies (required by ESLint v10) - Update eslint-plugin-jest to v29.15.0 for ESLint v10 compatibility - Restore .eslintignore file (keep despite deprecation warning per requirements) - Add React settings to eslint config Note: eslint-plugin-react v7.37.5 does not yet support ESLint v10. The plugin errors with "contextOrFilename.getFilename is not a function" because ESLint v10 removed deprecated RuleContext methods. The plugin maintainers have an open PR (#3979) to add v10 support, but it's not merged yet. Co-authored-by: Caele <6318307+Caele@users.noreply.github.com>
Copilot
AI
changed the title
Fix ESLint v10 compatibility
Add ESLint v10 required dependencies and restore .eslintignore
Feb 16, 2026
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 v10 no longer bundles
@eslint/jsand@eslint/eslintrc, causing import failures ineslint.config.mjs.Changes
Dependencies
@eslint/js@^10.0.0and@eslint/eslintrc@^3.2.0as explicit dependencieseslint-plugin-jestto^29.15.0(adds ESLint v10 support)patch-packageand patchesConfiguration
.eslintignorefile (shows deprecation warning but functional)eslint.config.mjsKnown Issue
eslint-plugin-react@7.37.5does not support ESLint v10. The plugin fails with:ESLint v10 removed deprecated
RuleContext.getFilename()andRuleContext.getSourceCode()methods in favor of properties. The plugin has an open PR (jsx-eslint/eslint-plugin-react#3979) for v10 support, pending merge.Options:
eslint-plugin-reactrelease with v10 supportWarning
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:
https://api.github.com/repos/jsx-eslint/eslint-plugin-react/pulls/3979/usr/bin/curl curl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.