-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Recommendations Needed for Using FlatCompat in CommonJS eslint Configs #133
Recommendations Needed for Using FlatCompat in CommonJS eslint Configs #133
Comments
In CommonJS, you can just use const { FlatCompat } = require("@eslint/eslintrc"); Otherwise, you can use the example in the README mostly as-is. We can probably update that with a CommonJS example to avoid confusion. |
Thanks, yes, that was one of the things that was crucial to proceed further. Now, we are battling how to integrate |
We are currently working on migrating our eslint configs to flat configs, but are facing a high level of complexity in the process. I'm seeking recommendations or best practices on how to effectively use FlatCompat in CommonJS eslint configs.
Utilization of FlatCompat in CommonJS:
Support for CommonJS Projects:
Your insights and advice regarding these queries will be greatly valuable and appreciated.
The text was updated successfully, but these errors were encountered: