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

Support .eslintrc.cjs and .eslintrc.mjs file #12593

Closed
xiaoxiangmoe opened this issue Nov 23, 2019 · 4 comments
Closed

Support .eslintrc.cjs and .eslintrc.mjs file #12593

xiaoxiangmoe opened this issue Nov 23, 2019 · 4 comments
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion auto closed The bot closed this issue question This issue asks a question about ESLint

Comments

@xiaoxiangmoe
Copy link

node 13.2 has been released with .mjs support without flag: https://github.com/nodejs/node/releases/tag/v13.2.0

Can we use .eslintrc.cjs and .eslintrc.mjs as config file?

@xiaoxiangmoe xiaoxiangmoe added core Relates to ESLint's core APIs and features enhancement This change enhances an existing feature of ESLint triage An ESLint team member will look at this issue soon labels Nov 23, 2019
@kaicataldo
Copy link
Member

Please track eslint/rfcs#43.

@kaicataldo kaicataldo added question This issue asks a question about ESLint and removed core Relates to ESLint's core APIs and features enhancement This change enhances an existing feature of ESLint triage An ESLint team member will look at this issue soon labels Nov 23, 2019
@TrejGun
Copy link

TrejGun commented Dec 10, 2019

@kaicataldo
RFC was merged a week ago
will you accept PR for mjs/cjs configs?

@kaicataldo
Copy link
Member

@TrejGun Please track #12321. Note that we can't support .mjs configuration files yet due to ESLint currently being synchronous in nature. There's another RFC that is trying to solve that blocker so that we can eventually support ESM configuration files and plugins.

@eslint-deprecated eslint-deprecated bot added the auto closed The bot closed this issue label Jan 10, 2020
@eslint-deprecated
Copy link

It looks like the conversation is stalled here. As this is a question rather
than an action item, I'm closing the issue. If you still need help, please send
a message to our mailing list or
chatroom. Thanks!
[//]: # (auto-close)

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Jul 10, 2020
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion auto closed The bot closed this issue question This issue asks a question about ESLint
Projects
None yet
Development

No branches or pull requests

3 participants