We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! 馃憢
I'm using antfu/eslint-config in a Nuxt 3 project. It seems there is some kind of conflict with eslint.config.js:
eslint.config.js
I've followed the steps in the documentation to configure it... but as a "newcomer", I may have misconfigured something.
The TS error appears in the file server/tsconfig.json:
server/tsconfig.json
Cannot write file '/Users/jure/Code3/nuxt-antfu-eslint/eslint.config.js' because it would overwrite input file.ts
It's strange that the error only appears when any .ts file in the ./server/ folder is opened with VSCode.
I'm wondering if anyone else has the same problem or is this the issue with my VSCode...
This is a minimal demo project to quickly reproduce the error (containing only Nuxt 3 and @antfu/eslint-config):
https://github.com/juretopolak/nuxt-antfu-eslint
The text was updated successfully, but these errors were encountered:
Add "noEmit": true to your tsconfig.json:
"noEmit": true
tsconfig.json
{ "compilerOptions": { "noEmit": true } }
Sorry, something went wrong.
@so1ve thank you, this works and I can finally get rid of the annoying ESLint error. 馃檪
No branches or pull requests
Hi! 馃憢
I'm using antfu/eslint-config in a Nuxt 3 project. It seems there is some kind of conflict with
eslint.config.js
:I've followed the steps in the documentation to configure it... but as a "newcomer", I may have misconfigured something.
The TS error appears in the file
server/tsconfig.json
:It's strange that the error only appears when any .ts file in the ./server/ folder is opened with VSCode.
I'm wondering if anyone else has the same problem or is this the issue with my VSCode...
This is a minimal demo project to quickly reproduce the error (containing only Nuxt 3 and @antfu/eslint-config):
https://github.com/juretopolak/nuxt-antfu-eslint
The text was updated successfully, but these errors were encountered: