17.0.1 • Published 2 months ago

@team-supercharge/frontend-quality-config v17.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 months ago

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 in package.json
  • Adds prettier.config.js and creates corresponding commands in package.json
  • Adds .commitlintrc.json with the extended config and creates commands for husky in package.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/frontend-quality-config@15.0.0 is compatible with @angular@15.x