@code-and-comments/eslint-config
v1.0.3
Published
Default eslint configuration for projects of Code & Comments
Downloads
26
Readme
@code-and-comments/eslint-config
Default eslint configuration for projects of Code & Comments.
It is based on angular-eslint and ngrx-eslint with some code and comments biased config.
Setup in a project
- Install dependencies
ng add @angular-eslint/schematics
npm i -D @ngrx/eslint-plugin
npm i -D @code-and-comments/eslint-config
- Setup eslint in project
Create .eslintrc.js
file in same folder as package.json
module.exports = {
extends: ['@code-and-comments/eslint-config'],
};
Update eslint-config
To update the config update the index.js
file, push and tag a new version.
The package.json
version will be automatically updated to the git tag via the CI pipeline.