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

Shouldn't it be the opposite? #129

Closed
agecode-debug opened this issue Jun 16, 2024 · 1 comment
Closed

Shouldn't it be the opposite? #129

agecode-debug opened this issue Jun 16, 2024 · 1 comment

Comments

@agecode-debug
Copy link

image
like
this.result.configFilename = isESMModule ? "eslint.config.js" : "eslint.config.mjs";
should instead be
this.result.configFilename = isESMModule ? "eslint.config.mjs" : "eslint.config.js";
No ?

@aladdin-add
Copy link
Member

it's working as expected - the generated config is always esm, and it has be .mjs in type: "commonjs".

Have you encountered any problems? Please provide as much detail as possible.

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

No branches or pull requests

2 participants