-
Notifications
You must be signed in to change notification settings - Fork 147
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
Bundle plugin in ESM format #900
Comments
Any update? Flat config has been the default for 10 months now. While you are at it, you might want to update |
Does not work: eslint.config.js
|
@sdavids could you open a new issue with more information on how it's not working, ideally with a reproduction? We already support ESLint v9 + flat config (with examples of that in our README), and I personally have been using it in |
#900 (comment) is obsolete. |
The current bundle is in CJS format. Since ESLint flat config default format is ESM, we need to build the plugin for this format by default. Let's keep compatibility with CJS format for now, so we get both (we will have to point to the corresponding
dist/
paths for each in theexports
field of thepackage.json
.Some resources on how to publish in both CJS and ESM with TS:
The text was updated successfully, but these errors were encountered: