Skip to content

fix: exclude next-env.d.ts from ESLint - #25

Merged
wangeguo merged 1 commit into
mainfrom
wangeguo/fix-eslint-typescript
Jan 20, 2026
Merged

fix: exclude next-env.d.ts from ESLint#25
wangeguo merged 1 commit into
mainfrom
wangeguo/fix-eslint-typescript

Conversation

@wangeguo

Copy link
Copy Markdown
Member

The auto-generated Next.js type declaration file uses triple slash references which trigger the @typescript-eslint/triple-slash-reference rule. This file should not be linted as it is automatically generated and managed by Next.js.

Fixes: eslint validation in CI

The auto-generated Next.js type declaration file uses triple slash
references which trigger @typescript-eslint/triple-slash-reference.
@wangeguo
wangeguo merged commit 1e2325a into main Jan 20, 2026
3 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.

1 participant