You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expecting the .nx folder to be ignored globally, for example:
exportdefault[{plugins: {get['@nx'](){returnrequire('../index');},},},{ignores: ['.nx'],// <-- in its own config object with only the `ignores` key specified},];
GitHub Repo
No response
Steps to Reproduce
Create some sorts of monorepo workspace which has eslint set up, e.g. npx create-nx-workspace@latest with these answers:
Run npx nx run org:build to generate some content to the .nx folder
Run npx eslint and see all the linting errors for .nx folder's contents
Current Behavior
Currently the
@nx/eslint-plugin
has the.nx
folder ignored non-globally.Read here what I mean with global vs non-global ignores: https://eslint.org/docs/latest/use/configure/configuration-files#globally-ignoring-files-with-ignores
https://github.com/nrwl/nx/blob/master/packages/eslint-plugin/src/flat-configs/base.ts:
Expected Behavior
Expecting the
.nx
folder to be ignored globally, for example:GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest
with these answers:npx nx run org:build
to generate some content to the.nx
foldernpx eslint
and see all the linting errors for.nx
folder's contentsNx Report
Failure Logs
✖ 18100 problems (17528 errors, 572 warnings) 6734 errors and 1 warning potentially fixable with the `--fix` option.
Package Manager Version
No response
Operating System
Additional Information
I hope Nx does not prohibit the usage of eslint outside of packages/libs/apps 👀
The text was updated successfully, but these errors were encountered: