INFO

Angular CLI commands – ng lint

This command triggers the tools that are responsible for checking for the styling, syntax and programming errors in the code. You can also call it by running ng l command.

The command is called per project, so in our example it would be

ng lint my-project

After calling this command on an empty new CLI project it takes no longer than 2 seconds to the get result.

You may also like...