Skip to content

Switching from TSLint to ESLint #374

Closed
@Jefiozie

Description

@Jefiozie

We need to update our Angular project by replacing TSLint with ESLint. TSLint is being phased out, and ESLint is now the preferred linter for TypeScript projects, including Angular.

Key actions for the switch:

  1. Remove TSLint: Uninstall TSLint and its related configurations.
  2. Install ESLint: Add ESLint to our project with Angular-specific configurations.
  3. Use Angular CLI command: ng add @angular-eslint/schematics.
  4. Configure ESLint Rules: Set up a new .eslintrc.json file tailored for our Angular project.
  5. Update Build Scripts: Ensure ESLint checks are part of our build and test scripts.
  6. Fix Existing Code: Run ESLint to identify and fix any linting issues in our current code.
  7. Documentation Update: Briefly explain the change in our README or contribution guidelines.

This update will keep our project aligned with the latest Angular standards and improve code quality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: build & ciRelated the build and CI infrastructure of the projectenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions