Current Behavior
I have issues with React/Next projects, that if I would like to specify rules in root eslint mjs they are ignored in apps/libs
Please note I did not modify app eslint, only the root one
Expected Behavior
Errors reported based on root eslint config
GitHub Repo
https://github.com/Lonli-Lokli/vinto/tree/nx_bug
Steps to Reproduce
- open apps\vinto\src\app\components\avatar.tsx
unused variable there
root eslint.config.mjs
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
Nx Report
NX Report complete - copy this into the issue template
Node : 22.19.0
OS : win32-x64
Native Target : x86_64-windows
npm : 10.9.3
nx : 21.5.3
@nx/js : 21.5.3
@nx/jest : 21.5.3
@nx/eslint : 21.5.3
@nx/workspace : 21.5.3
@nx/devkit : 21.5.3
@nx/eslint-plugin : 21.5.3
@nx/module-federation : 21.5.3
@nx/next : 21.5.3
@nx/react : 21.5.3
@nx/rollup : 21.5.3
@nx/vite : 21.5.3
@nx/web : 21.5.3
@nx/webpack : 21.5.3
typescript : 5.9.2
---------------------------------------
Registered Plugins:
@nx/js/typescript
@nx/next/plugin
@nx/jest/plugin
@nx/eslint/plugin
---------------------------------------
Cache Usage: 6.19 MB / 31.25 GB
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
It is related to project/lib eslint config, I believe they overrites root one.
Current Behavior
I have issues with React/Next projects, that if I would like to specify rules in root eslint mjs they are ignored in apps/libs
Please note I did not modify app eslint, only the root one
Expected Behavior
Errors reported based on root eslint config
GitHub Repo
https://github.com/Lonli-Lokli/vinto/tree/nx_bug
Steps to Reproduce
unused variable there
root eslint.config.mjs
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
It is related to project/lib eslint config, I believe they overrites root one.