#Linting Angular

2 messages · Page 1 of 1 (latest)

white iron
#

In order to setup Angular linting, I run "ng lint" and porsue with the installation of the libraries, is that the correct way, because in the READ.ME file of " angular-eslint" I should only run the command ng add @angular-eslint/schematics.
So, I wonder if the two approaches are equivalent or should I proceed with additional steps.
In the 2nd case, please tell me which additional operations I should do.

ivory kestrel
#

Hey 👋 The ng add @angular-eslint/schematics command is to install the angular-eslint linter into your Angular workspace. The ng lint command is to execute the linter that you installed.