Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
When enabling the newstrict
config, ESLint fails with the following error:
Oops! Something went wrong! :(ESLint: 8.15.0ESLint couldn't find the config "./configs/base" to extend from. Please check that the name of the config is correct.The config "./configs/base" was referenced from the config file in "/home/flo/www/vue-ts-types/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js".If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
See alsoFloEdelmann/vue-ts-types#29 andhttps://github.com/FloEdelmann/vue-ts-types/runs/6472350066?check_suite_focus=true
I first tried enabling the config like described here:https://github.com/typescript-eslint/typescript-eslint/blob/v5.24.0/docs/linting/CONFIGS.md#strict
(N.B.: The link "presets" on this rules docs page doesn't work:https://typescript-eslint.io/rules/)
Since thestrict
configextends from therecommended
andrecommended-with-type-info
configs, I deleted them from my own ESLint config, but the error persisted in both cases.
Reproduction Repository Link
https://github.com/FloEdelmann/vue-ts-types/tree/strict-eslint
Repro Steps
- clone the repo
git switch strict-eslint
npm install
npm run lint
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 5.24.0 |
@typescript-eslint/parser | 5.24.0 |
TypeScript | 4.6.4 |
ESLint | 8.15.0 |
node | 14.19.2 |