Angular project for setting up ESLint.
Below command will run the project:
npm start
Below command executed to perform initial setup:
ng new ng-eslint
Add ESLint to project:
ng add @angular-eslint/schematics
Run command:
npm run lint
Add new script:
"lint-html": "ng lint > eslint/report.html --format html --silent"
Add ESLint ignore file .eslintignore
:
eslint/**