Adding lint in angular application

Udhayakumar C
Aug 26, 2022

--

To implement the ESLint in Angular, Run the below command

ng add @angular-eslint/schematics

It will confirm you to install the required packages, Then press Y and Enter

Upon successful installation of the required packages, I will show a successful message like below

It will do the following

  • It will create the file .eslintrc.json
  • It will update the package.jsonfile like below
  • It will update the angular.json file like below

Please refer this link if you are facing an error like below

References https://github.com/angular-eslint/angular-eslint

--

--

Udhayakumar C
Udhayakumar C

Written by Udhayakumar C

Senior Software Engineer @Yavar Tech Works

No responses yet