Skip to content
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

Convert ESLint plugins to CommonJS #14180

Merged
merged 5 commits into from Mar 3, 2022

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Jan 19, 2022

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

ESLint doesn't support ESM, so plugins should be authored as CJS (similarly to how we do for @babel/eslint-parser).

I had to convert the files from TS to plain JS because TS doesn't support .cts yet, but they didn't contain any type annotation anyway.

@nicolo-ribaudo nicolo-ribaudo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Jan 19, 2022
@nicolo-ribaudo nicolo-ribaudo added this to In progress in Move to native ES modules via automation Jan 19, 2022
@babel-bot
Copy link
Collaborator

babel-bot commented Jan 19, 2022

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/51301/

@nicolo-ribaudo nicolo-ribaudo merged commit 9e9301d into babel:main Mar 3, 2022
Move to native ES modules automation moved this from In progress to Done Mar 3, 2022
@nicolo-ribaudo nicolo-ribaudo deleted the eslint-cjs branch March 3, 2022 15:52
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jun 3, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: eslint outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Development

Successfully merging this pull request may close these issues.

None yet

4 participants