talira

codelyzer

TSLint rules for static analysis of Angular projects

open sourceMITfree

codelyzer looks abandoned: nothing has changed since July 2021, and its makers haven't said it has ended.

No release since 6.0.2 (May 2021) and only bot dependency updates since July 2021; it runs on the deprecated TSLint, and its README points to angular-eslint.

codelyzer is a set of TSLint rules for static code analysis of Angular TypeScript projects, following the Angular style guide; it runs through the Angular CLI's ng lint and works on web apps, NativeScript and Ionic projects. It has had no release since version 6.0.2 in May 2021 and only bot dependency updates since, and its README points ESLint users to angular-eslint. Install it from npm as codelyzer.

Problems it solves

  • lint my Angular project against the Angular style guide
  • catch Angular-specific mistakes in components and templates before review
  • an old Angular project still uses codelyzer with TSLint; what replaces it

Features

  • TSLint rules for Angular's style guide
  • runs through ng lint in the Angular CLI
  • works on web apps, NativeScript and Ionic projects

Limitations

  • Its rules run on TSLint, which is deprecated; projects on ESLint need angular-eslint instead.1

Alternatives

The same job

These do what codelyzer does.

  1. angular-eslint ESLint support, rules and tooling for Angular projects

Compare codelyzer with the top 3