-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Bug: Updating to 8.30.0 breaks eslintrc preset configs #11071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@kirkwaiblinger, something from #10973 perhaps? |
Seeing the same. Just confirming that |
I also confirm this issue occuring with Updated package.json to |
Hi! Could someone experiencing this issue post more detail about their eslint config or, preferably, make a minimal reproduction repo? I have not been able to reproduce this myself yet. |
Actually - I've been able to repro it now using an eslintrc setup. I'm assuming that's the setup with which people are experiencing issues? |
ESLint config // Blah blah
"extends": [
// Blah Blah
"plugin:@typescript-eslint/recommended",
], Problem is here: // node_modules/typescript-eslint/eslint-plugin/dist/configs/eslintrc
extends: ['./configs/base', './configs/eslint-recommended'],
// Needs to be
extends: ['./configs/eslintrc/base', './configs/eslintrc/eslint-recommended'] |
We have an eslint.config.mjs set up actually |
There was indeed an obvious regression with our eslintrc configs (as noticed by @anthony-bonta-gaf-energy 🙂) that accounts for the observed error in an eslintrc setup. The fix has been pushed out already in 8.30.1 🥳 @gardsa if you're able to repro after the patch, would you kindly file another issue including a reproduction? Thanks! |
No issue for us now - thanks a lot for the quick fix! |
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
eslint-plugin
Playground Link
No response
Repro Code
Expected Result
I would expect that
yarn check:lint
would result in my linting process to run, and get the following output:Actual Result
When I run
yarn check:lint
, I get the following error output: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
@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
The text was updated successfully, but these errors were encountered: