Generator creating .eslintrc.json at the root path even when .eslintrc.js already exist #7791
Labels
community
This is a good first issue for contributing
outdated
scope: react
Issues related to React support for Nx
type: bug
Current Behavior
In my project, I'm using
.eslintrc.js
(javascript) as a root config for ESLint (my config needs dynamic paths and some other JS-related features so JSON is a limitation).When I'm using a generator for creating lib/app then every time
.eslintrc.json
file is created.Expected Behavior
NX Generator should at least check if
.eslintrc.js
exist at the root level and if so do not create.eslintrc.json
file.Steps to Reproduce
.eslintrc.js
with some basic config.eslintrc.json
.eslintrc.json
is createdFailure Logs
Environment
The text was updated successfully, but these errors were encountered: