-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Issue Description
When enabling the new strict config, ESLint fails with the following error:
Oops! Something went wrong! :(
ESLint: 8.15.0
ESLint 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 also FloEdelmann/vue-ts-types#29 and https://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 the strict config extends from the recommended and recommended-with-type-info configs, I deleted them from my own ESLint config, but the error persisted in both cases.
Reproduction Repository Link
Repro Steps
- clone the repo
git switch strict-eslintnpm installnpm 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 |