Bump eslint from 8.57.1 to 10.3.0#42
Open
dependabot[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 10.3.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v10.3.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.3.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| "@typescript-eslint/eslint-plugin": "^8.59.0", | ||
| "@typescript-eslint/parser": "^8.59.0", | ||
| "eslint": "^8.57.0", | ||
| "eslint": "^10.3.0", |
Contributor
There was a problem hiding this comment.
🔴 ESLint 10 dropped support for .eslintrc.* config format, breaking npm run lint
ESLint 10 removed support for the legacy .eslintrc.* configuration format entirely (it was deprecated in v9 and removed in v10). The repository uses .eslintrc.json for its ESLint configuration, but no eslint.config.js (flat config) file exists. Running npm run lint now fails with: ESLint couldn't find an eslint.config.(js|mjs|cjs) file. This also breaks the CI pipeline, since CONTRIBUTING.md requires npm run lint to pass before merging.
Prompt for agents
The ESLint version was bumped from ^8.57.0 to ^10.3.0 in package.json:58. ESLint 10 no longer supports the legacy .eslintrc.json config format used by this repository (see .eslintrc.json at the repo root). Running `npm run lint` (which is `eslint "src/**/*.ts"`) now fatally errors because ESLint 10 requires a flat config file (eslint.config.js / eslint.config.mjs / eslint.config.cjs).
To fix this, either:
1. Revert ESLint to ^8.57.0 (the last major version supporting .eslintrc.json), or
2. Migrate the .eslintrc.json config to the new flat config format by creating an eslint.config.js file and removing .eslintrc.json. The @typescript-eslint/eslint-plugin and @typescript-eslint/parser packages at ^8.x should be compatible with ESLint 10, but you should verify their flat-config compatibility. The eslintrc options like `env`, `extends`, `plugins`, `ignorePatterns`, and `rules` all need to be translated to their flat config equivalents.
Also note that the `npm run lint` script currently uses `eslint "src/**/*.ts"` — in ESLint 10 with flat config, file targeting works differently and may need adjustment.
Was this helpful? React with 👍 or 👎 to provide feedback.
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.
Bumps eslint from 8.57.1 to 10.3.0.
Release notes
Sourced from eslint's releases.
... (truncated)
Commits
788920410.3.05b69b4fBuild: changelog update for 10.3.0d32235eci: use pnpm ineslint-flat-config-utilstype integration test (#20826)b6ae5cffix: handle unavailable require cache (#20812)3ffb14echore: clean up typos in comments and JSDoc (#20821)6fb3685fix: rule suggestions cause continuation in class body (#20787)22eb58achore: add missing continue-on-error to ecosystem-tests.yml (#20818)88bf002ci: bump pnpm/action-setup from 6.0.1 to 6.0.3 (#20815)379571afeat: add suggestions for no-unused-private-class-members (#20773)97c8c33chore: update ilshidur/action-discord action to v0.4.0 (#20811)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)