Skip to content

Migrating to ES modules #181

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

Open
43081j opened this issue Mar 19, 2025 · 1 comment
Open

Migrating to ES modules #181

43081j opened this issue Mar 19, 2025 · 1 comment

Comments

@43081j
Copy link

43081j commented Mar 19, 2025

We should be able to migrate the package to ESM now that all LTS other than 18.x support require(esm)

Basically, the only people affected will be those using flat configs written in CJS format with a version of node lower than 20.

Legacy config will already support this as it uses import under the hood to load the plugin.

In those cases, they can move their config file to eslint.config.mjs without having to migrate their entire repo.

I'd be happy to contribute this if you're on board

@43081j
Copy link
Author

43081j commented Mar 20, 2025

here it is if we ever want it:
main...43081j:eslint-plugin-solid:esm-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant