Skip to content

fix: add eslint.config.mjs support #151

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IslombekHasan
Copy link

@IslombekHasan IslombekHasan commented Apr 14, 2025

Currently running nx g @angular-architects/ddd:init in a Nx 20.7.2 application, the following error is thrown:

NX Generating @angular-architects/ddd:init

Cannot add linting rules: linting config file does not exist

This is due to eslint.config files being generated as .mjs instead of supported .cjs. This PR adds support for such files.

@IslombekHasan IslombekHasan changed the title fix: add esling.config.mjs support fix: add eslint.config.mjs support Apr 14, 2025
@IslombekHasan
Copy link
Author

@L-X-T could you please take a look?

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.

1 participant