Wolox bootstrap
Create Angular-CLI project, configure Jest for Unit test and add ESLint.
How use
This schematic creates a new Angular workspace and runs the add-linter schematic.
schematics wolox-angular-bootstrap:initialize
-
Add linter to an existing workspace
If you have a workspace created first with a ng new and you want to add only the linter, you must have to run the next command.
Note: This schematic adds typescript and angular rules for linter
schematics wolox-angular-bootstrap:add-linter
Prerequisites
npm install -g @angular/cli
- Install Angular schematics CLI
npm i -g @angular-devkit/schematics-cli
- Install Angular schematics
npm i -g @schematics/angular
npm i -g wolox-angular-bootstrap
Considerations
You need to have the ESLint extension installed and enabled in your VSCode.