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

Add .cjs extension to ESLint icon #799

Merged
merged 1 commit into from Aug 14, 2020
Merged

Add .cjs extension to ESLint icon #799

merged 1 commit into from Aug 14, 2020

Conversation

noftaly
Copy link
Contributor

@noftaly noftaly commented Aug 14, 2020

Modules are more and more use in NodeJS, in particular with the new "type": "module" option in package.json. Only, ESLint doesn't accept modules as configuration files, so we have to explicitly specify the config file as a commonJS module.
You can see here that it is a valid ESLint config extension.

Copy link
Owner

@PKief PKief left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the information, didn't know that 👍

@PKief PKief merged commit 5059bfb into PKief:master Aug 14, 2020
@noftaly noftaly deleted the patch-1 branch August 15, 2020 05:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants