DEV Community

Discussion on: The ultimate migration guide to angular-eslint, ESLint and Nx 11

Collapse
layzee profile image
Lars Gyrup Brink Nielsen Author

Which command do you usually use for linting?

Did you try something like

nx workspace-lint && nx run-many --target=lint --all --parallel --max-parallel=4
Enter fullscreen mode Exit fullscreen mode

or

nx workspace-lint && nx affected --target=lint --parallel --max-parallel=4
Enter fullscreen mode Exit fullscreen mode
Collapse
villan3ll3 profile image
VILLAN3LL3

I've already tried both. Likewise ng lint and nx lint. It always takes so long. Isn't that the case with you?

Thread Thread
layzee profile image
Lars Gyrup Brink Nielsen Author

I don't currently have access to a large real world repo, but I just set this one up github.com/LayZeeDK/nx-nrwl-airlin...