Open leo-coco opened 1 year ago
Is this still an issue for you @leo-coco? I imagine you've gotten it worked out in the past couple of years, but just in case, I'd be happy to help if you're still having trouble. If not, it may help other people to post what you've done to work around this since then and/or close out the issue.
Relatedly, I'll be making a ticket and PR to update this project over to the new version of typescript-eslint
, which will expose their new project services system that allows discovery of tsconfig.json
files automatically, adds proper support for extends
and references
, and allows linting files not included in tsconfig.json
(meaning no more tsconfig.eslint.json
).
I used to have a working project. I'm in the middle of moving to
vite
,vue 2.7
etc and part of this transition iseslint
I had to updateeslint airbnb
and to installeslint-config-airbnb-typescript
to fix some errors.My issue
When running
eslint . --fix --max-warnings=0
inapps/my-app
I have 650 error messages. All are of this typeParsing error: ESLint was configured to run on
<tsconfigRootDir>/src/ui/views/pages/case-files/details/case-file-activity/components/CaseFileAssignmentsOld.vue
using parserOptions.project: <tsconfigRootDir>/../../../../../../../users/xxx/documents/github/frontend-app/apps/my-app/tsconfig.eslint.json
I don't understand the issue since the files I want to ESLINT
.vue
,.js
,.ts
are already included in mytsconfig.json
Annexes
I have a monorepository structure
In my root project folder
The
eslintrc.js
on the root of the whole project containsIn my app folder
The
eslintrc.js
The
tsconfig.json
The
tsconfig.eslint.json