Closed zecar closed 1 month ago
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.
@antfu I'm having the same problem. I tried to make commits according to the "repository installation" steps in this reproduction branch:
npx nuxi@latest init
(use npm)npx nuxi module add eslint
npm install --save-dev vue-tsc@^1 typescript
(I probably should have skipped this step to isolate typescript array from the issues...)At this point, running npm run lint
or npm run lint:fix
does not have the desired outcome
I just did this again now to make sure I got any changes from any repositories from the last day or two. And without step 3 (typescript). Same result. However, if I rm -rf package-lock.json
and rm -rf node_modules
and then npm install
, it starts working. The changes at this point to package-lock.json is quite extensive, so not sure it helps to paste it all.
i've bypassed this by putting the stylistic config inside eslint config file instead of nuxt config
I couldn't reproduce this with the given repo - it sounds like a dependencies duplication issue, please try to bump deps rebuild the locks. If you still have this issue, please create a new issue with a minimal reproduction. Thank you,
Environment
Package
@nuxt/eslint
Reproduction
Describe the bug
i've just installed the @nuxt/eslint module and put this config in nuxt.config.ts
when I run
eslint nuxt.config.ts
nothing changes.. commaDongle is still present, semi-colon is still thereAdditional context
eslint.config.mjs
Logs
No response