Today, I had to enable the linter in an Angular CLI project. It took me a little bit to find the right answer, because most tutorials seem to consider all Angular workspaces to be single-project only.

This is the way:

`ng add @angular-eslint/schematics`

And then for each project/library/app:

`ng g @angular-eslint/schematics:add-eslint-to-project <project-name>`

And then run it like

`ng lint <project-name>`

#angular #cli #typescript #eslint #lint