-
Notifications
You must be signed in to change notification settings - Fork 55
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
ESLint doesn't work with flat config #78
Comments
This is a duplicate of #55, but looks like neither has had a response from the repo owner. 😕 |
Added here as well -- #82 should close this issue :) We just gotta get the repo owner to either merge some of these PRs in, or give some other people write access to the project @gxmari007 I understand things get busy, i've been there too! Let the community help support the wonderful tool that you helped create <3 I volunteer to merge PRs in, and if I become too busy as well I would hand over the reigns to someone else. |
This newer plugin works with flat files. Doesn't seem like #82 is going to be merged anytime soon. |
Describe the bug
ESLint introduced a new configuration format eslint.config.js (flat config). With the new format, an error is thrown when starting the application:
Running ESLint directly via CLI works with the new config. The checker plugin worked properly before migrating to the new ESLint config.
Expected behavior
ESLint should run without an error and the
eslint.config.js
file should be used.The ESLint class used by this plugin doesn't support the new flat config. For the flat config the FlatESLint class must be used which is only exported via eslint/use-at-your-own-risk entrypoint: https://eslint.org/blog/2022/08/new-config-system-part-3/#using-flat-config-with-the-eslint-class
The text was updated successfully, but these errors were encountered: