Angular Legacy Linting Tools Deprecated | Generated by AI

Home 2026.02

In Angular 9 and older Angular versions, TSLint and Codelyzer worked together to enforce code quality and Angular-specific best practices:

TSLint

TSLint was a static analysis tool for TypeScript code that:

Codelyzer

Codelyzer was a set of TSLint rules specifically designed for Angular applications that:

How They Worked Together

You’d configure them in your tslint.json file:

{
  "extends": ["tslint:recommended", "codelyzer"],
  "rules": {
    "component-class-suffix": true,
    "directive-selector": [true, "attribute", "app", "camelCase"],
    // other rules
  }
}

Important Note: They’re Deprecated

Both TSLint and Codelyzer are now deprecated:

If you’re working with Angular 9 or older projects, you might still encounter these tools, but for modern Angular development, you should migrate to ESLint and angular-eslint for linting capabilities.


Back Donate