17.0.1 • Published 2 years ago
@team-supercharge/frontend-quality-config v17.0.1
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.jsonand.nvmrc - Adds
.eslintrc.jsonwith the extended ruleset - Adds
.stylelintrcand creates corresponding commands inpackage.json - Adds
prettier.config.jsand creates corresponding commands inpackage.json - Adds
.commitlintrc.jsonwith the extended config and creates commands forhuskyinpackage.json - Adds additional commands to
package.jsonfor linting - Adds default VS Code configuration and recommended extensions
Versioning
Versioning follows Angular versioning, meaning the major versions should match. E.g.: @team-supercharge/frontend-quality-config@15.0.0 is compatible with @angular@15.x