Closed agentx-cgn closed 2 years ago
I think I have encountered this too. Only occurs with the nx affected
command.
Also occurs with: nx run-many --target=lint --all
Finally I got it:
nx run-many --target=lint --all --output-style=static
To give some explanation here, the reason this is happening is that when running commands that hit multiple projects (e.g. affected / run-many) locally Nx defaults to a dynamic terminal output. In this view, you only see the output from tasks that fail.
I believe that if you ran with --verbose you'd see the warnings, but the static output would also work.
I'm going to close this since its working as intended, if you have further questions feel free to reply here or open a new issue.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
After upgrading from v13 to v14 "nx affected:lint --all" stopped to report warnings. However, e.g. nx run admin-pages:lint does. Interestingly if I introduce a rule which forces an error (e.g. "no-console": 2, ) all the warnings re-appear.
Expected Behavior
"nx affected:lint --all" reports all eslint warnings according to .eslintrc. This appears to be a regression
Expected Warnings: @typescript-eslint/no-unused-vars @typescript-eslint/no-explicit-any
Steps to Reproduce
If all fails, I'll spend time on this.