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

Fix ESLint Not Linting Source Files #118

Closed
threeal opened this issue Feb 16, 2024 · 0 comments · Fixed by #119
Closed

Fix ESLint Not Linting Source Files #118

threeal opened this issue Feb 16, 2024 · 0 comments · Fixed by #119
Assignees
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Feb 16, 2024

This issue highlights a problem where ESLint does not lint the source files because it uses the .mjs extension. This issue can be replicated by running the DEBUG=eslint:cli-engine yarn lint command, which will output the following:

Image

As shown, only the package.json file is processed by ESLint. To resolve this issue, it is suggested to configure ESLint to parse the .mjs files.

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

Successfully merging a pull request may close this issue.

1 participant