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.
Relevant Package
eslint-plugin
Playground Link
No response
Repro Code
// Package.json
{
scripts: {
"check:lint": "eslint 'src/**/*'",
},
devDependencies: {
"@typescript-eslint/eslint-plugin": "^8.30.0",
}
}
Expected Result
I would expect that yarn check:lint
would result in my linting process to run, and get the following output:
Done in XX.XXs.
Actual Result
When I run yarn check:lint
, I get the following error output:
Oops! Something went wrong! :(
ESLint: 9.24.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 "/app/node_modules/@typescript-eslint/eslint-plugin/dist/index.js".
If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
Additional Info
This error began occurring in a dependabot PR in which both @typescript-eslint/eslint-plugin
and @typescript-eslint/parser
were updated to 8.30.0.
I was able to isolate the error as part of @typescript-eslint/eslint-plugin
by downgrading both packages back to 8.29.1 (our previous version) and then upgrading both separately to see how the issue persisted. My linting checks ran fine with the upgrade of @typescript-eslint/parser
to 8.30.0.
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
8.30.0 |
@typescript-eslint/parser |
8.30.0 |
TypeScript |
5.8.3 |
ESLint |
9.24.0 |
node |
22.1.0 |