Create Angular-CLI project, configure Jest for Unit test and add ESLint.
- Initialize a project.
This schematic creates a new Angular workspace and runs the add-linter
schematic.
schematics wolox-angular-bootstrap:initialize
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
- Install Angular schematics CLI
npm i -g @angular-devkit/schematics-cli
- Install Angular schematics
npm i -g @schematics/angular
- Install Wolox bootstrap
npm i -g wolox-angular-bootstrap
You need to have the ESLint extension installed and enabled in your VSCode.