@team-supercharge/frontend-quality-config
v17.0.1
Published
This project contains our basic linter rulesets for Angular. By adding this as an npm dependency, you can include these rules in your project. This project's version should follow the latest Angular version.
Downloads
587
Maintainers
Keywords
Readme
Frontend Quality Config
This project contains our basic linter rulesets for Angular. By adding this as an npm dependency, you can include these rules in your project. This project's version should follow the latest Angular version.
Setup
Install this package as a dev dependency:
npm install @team-supercharge/frontend-quality-config --save-dev
Run schematics to create necessary files and command:
ng add @team-supercharge/frontend-quality-config
Changes that schematics makes to ensure correct project setup:
- Sets required node and npm version in
package.json
and.nvmrc
- Adds
.eslintrc.json
with the extended ruleset - Adds
.stylelintrc
and creates corresponding commands inpackage.json
- Adds
prettier.config.js
and creates corresponding commands inpackage.json
- Adds
.commitlintrc.json
with the extended config and creates commands forhusky
inpackage.json
- Adds additional commands to
package.json
for linting - Adds default VS Code configuration and recommended extensions
Versioning
Versioning follows Angular versioning, meaning the major versions should match. E.g.: @team-supercharge/[email protected] is compatible with @[email protected]