Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next lint does not recognize eslint.config.mts #74900

Open
baixiaoyu2997 opened this issue Jan 15, 2025 · 0 comments
Open

next lint does not recognize eslint.config.mts #74900

baixiaoyu2997 opened this issue Jan 15, 2025 · 0 comments
Labels
Linting Related to `next lint` or ESLint with Next.js.

Comments

@baixiaoyu2997
Copy link

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/infallible-merkle-rzd64?you-dont-need=yes

To Reproduce

https://codesandbox.io/p/devbox/infallible-merkle-rzd64?you-dont-need=yes

Current vs. Expected behavior

https://codesandbox.io/p/devbox/infallible-merkle-rzd64?you-dont-need=yes

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
  Available memory (MB): 32768
  Available CPU cores: 8
Binaries:
  Node: 22.10.0
  npm: 10.9.0
  Yarn: 1.22.22
  pnpm: 9.15.2
Relevant Packages:
  next: 15.1.4 // Latest available version is detected (15.1.4).
  eslint-config-next: 15.1.4
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.3
Next.js Config:
  output: export

Which area(s) are affected? (Select all that apply)

Linting

Which stage(s) are affected? (Select all that apply)

Other (Deployed)

Additional context

ref: https://eslint.org/docs/latest/use/configure/configuration-files#typescript-configuration-files

eslint support eslint.config.ts since v9.18.0, next lint not support ts config

@baixiaoyu2997 baixiaoyu2997 added the bug Issue was opened via the bug report template. label Jan 15, 2025
@github-actions github-actions bot added the Linting Related to `next lint` or ESLint with Next.js. label Jan 15, 2025
@samcx samcx removed the bug Issue was opened via the bug report template. label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linting Related to `next lint` or ESLint with Next.js.
Projects
None yet
Development

No branches or pull requests

2 participants