-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
nx run-many --target=lint --all
doesnt check linting rules for a fresh nx workspace
#9638
Comments
nx run-many --target=lint --all
doesnt apply linting rulesnx run-many --target=lint --all
doesnt check linting rules
nx run-many --target=lint --all
doesnt check linting rulesnx run-many --target=lint --all
doesnt check linting rules for a fresh nx workspace
Any updates on this? |
Sorry for waiting, I will get to this as soon as possible. |
Actually, this is a feature, not a bug. Nx commands that (potentially) run target on multiple projects (such as yarn nx run-many --target=lint --projects=spa --skip-nx-cache --verbose
|
+1, it worked! |
This really seems like a workaround especially as it means it takes longer and it no longer uses the cache even though the cache has the warnings in it.
|
@ElvenSpellmaker this is not a workaround nor it influences the caching. Caching is done per command, so when you add |
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
Running the command
yarn nx run-many --target=lint --projects=spa --skip-nx-cache
doesn't catch lint errors/warnings. Instead running the commandyarn nx run spa:lint --skip-nx-cache
properly catches the lint issues.Expected Behavior
Running the command
yarn nx run-many --target=lint --all
should lint all projects in the repo.Steps to Reproduce
https://github.com/mondo192/nx-workspace
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: