What does ng lint and a formatter give you, and what other tooling do Angular teams use?

Angular testing, tooling and architecture · Freshers and experienced

Model answer

A linter (ESLint with angular-eslint) finds mistakes and enforces rules, for example unused variables or missing track. A formatter such as Prettier keeps code style consistent. Teams add pre-commit hooks, CI pipelines that run lint, tests and build, and tools such as Compodoc or Storybook for documentation and component demos.

Consistent tooling reduces review arguments and catches problems before they reach production.

Learn this topic

Angular Tutorial: Beginner to Advanced .

Sign in to add your own answer.

More questions