chore(deps): bump eslint from 9.39.4 to 10.0.3#12
Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
Closed
chore(deps): bump eslint from 9.39.4 to 10.0.3#12dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.4 to 10.0.3. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.39.4...v10.0.3) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
| "@types/node": "^25.3.2", | ||
| "@vitest/coverage-v8": "1.6.0", | ||
| "eslint": "^9.37.0", | ||
| "eslint": "^10.0.3", |
There was a problem hiding this comment.
Bug: The lint and lint:fix scripts use the --ext flag, which was removed in ESLint 10, causing the commands to fail.
Severity: CRITICAL
Suggested Fix
Remove the --ext .ts flag from the lint and lint:fix scripts in package.json. The file patterns are already correctly specified in the eslint.config.cjs file.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L68
Potential issue: The `lint` and `lint:fix` scripts in `package.json` use the `--ext .ts`
flag. The project is upgrading to ESLint 10, which has removed support for this flag
when using a flat configuration file (`eslint.config.cjs`), as this project does.
Consequently, running `npm run lint` or `npm run lint:fix` will fail with an error. This
will block any dependent scripts, such as `prepublishOnly` and `release`, preventing the
package from being published.
Did we get this right? 👍 / 👎 to inform future reviews.
Author
|
Superseded by #21. |
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 9.39.4 to 10.0.3.
Release notes
Sourced from eslint's releases.
... (truncated)
Commits
bfce7ea10.0.3d44ced8Build: changelog update for 10.0.3e511b58fix: update eslint (#20595)ef8fb92chore: package.json update for eslint-config-eslint releasee8f2104chore: updates for v9.39.4 release5cd1604refactor: simplify isCombiningCharacter helper (#20524)9fc31b0docs: Update README70ff1d0chore: eslint-config-eslint require Node^20.19.0 || ^22.13.0 || >=24(#20586)f4c9cf9fix: include variable name inno-useless-assignmentmessage (#20581)4efaa36docs: add info box foreslint-plugin-eslint-comments(#20570)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)