Skip to content

feat: support eslint v10#22

Merged
antfu merged 1 commit intoantfu:mainfrom
ocavue-forks:ocavue-eslint-v10
Feb 19, 2026
Merged

feat: support eslint v10#22
antfu merged 1 commit intoantfu:mainfrom
ocavue-forks:ocavue-eslint-v10

Conversation

@ocavue
Copy link
Copy Markdown
Contributor

@ocavue ocavue commented Feb 15, 2026

  • <- Keep this line and put an x between the brackts.

Description

Feature updates:

  1. Update peerDependencies to include eslint version ^10.0.0.

  2. Update dependency @eslint/compat from ^1.2.5 to ^2.0.2.

    • @eslint/compat v2 adds support for eslint v10.

    • The only breaking change in @eslint/compat v2 is that Node.js now requires 20.19.0 or later. Since eslint-config-flat-gitignore itself doesn't specify any Node.js version requirements, I think we can ignore it as a breaking change for users of eslint-config-flat-gitignore.

    • See the full changelog for @eslint/compat: CHANGELOG

Indirectly chore updates:

  1. Update devDependencies eslint to v10.

  2. Update devDependencies @antfu/eslint-config from v4 to v7, which now claims that it supports eslint v10 in peerDependencies. (code link)

  3. Update pnpm-workspace.yaml to match the rules defined in @antfu/eslint-config (code link)

Linked Issues

Closes #21

Additional context

N/A

@ocavue ocavue marked this pull request as ready for review February 15, 2026 08:44
@antfu antfu merged commit b1dad24 into antfu:main Feb 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ESLint v10 to peerDependencies

3 participants