1.3.0 • Published 2 years ago

@brulex/linters v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Angular linters configuration

This schematic allow to add to your environment linters for ts/js/html/css/sass/scss/json and other. There are 3 main tools for linting in this schematic:

Installation and usage

To use this schematic you need to use Angular CLI directly(the package will be installed in this case)

ng add @brulex/linters

After running this command to your environment will be added:

  • all needed packages for linters + npm-run-all to run all linters simultaneous
  • config files for each linter: .eslintrc.json, .prettierrc.json, .stylelintrc.json
  • scripts to run linting

To start lint you could run the following command:

npm run lint

Compatibility with Angular

At the moment supported only Angular 14, in future will be considered adding support for this schematic to older versions