-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error [ConfigError]: Config (unnamed): Key "language" on convertErrorToWarningPerFile #360
Comments
Can you provide a minimal repository that reproduces the problem? Without it, we cannot investigate. |
Hey @mizdra, thanks for the quick reponse. If it helps although not minimal this is where I got the error https://github.com/LeDDGroup/typescript-transform-paths/compare/fix-eslint I'll check again and try to make a minimal reproduction |
I did encounter the same error message on my private pnpm monorepo too (with flatconfig for eslint), when using with these packages:
Added a console.log to the sourcecode before the error happens, to log the configArray object that has the "wrong" language set, this might be handy. @mizdra |
Facing the same error while using eslint flat config. |
@danielpza Thanks for providing your repository! I could reproduce the issue. I will fix it. |
This problem seems to occur with ESLint 9.5.0+. It is not reproduced in 9.4.0 or lower. minimum reproduction: |
Sorry, I couldn't provide a minimal repo, I got distracted with work. Thanks for taking a look @mizdra ❤️. |
@danielpza, @tamasfabi This bug fix is shipped in v11.0.3. Thanks for contributing! |
Can also confirm that it's fixed, thanks ❤️ |
When choosing the option to convert the error to warning per file it crashes:
The other options seem to be working fine so far.
btw thanks for this awesome package. I've used it in some large scale codebases and it has been a huge time saver.
The text was updated successfully, but these errors were encountered: