Install the package as dev dependency in your project:
npm install -D @dixeed/eslint-config
or yarn add -D @dixeed/eslint-config
Create a an .eslintrc
file in your project and extends the desired configuration. This repo contains 2 configurations:
- Base conf: available as
@dixeed/eslint-config
- AngularJS conf: available as
@dixeed/eslint-config/angularjs
To use one of them write an extends
field on the aforementioned .eslintrc
i.e :
{
"extends": ["@dixeed/eslint-config"]
}
The configuration will require you to install its peer dependencies into your project for it to work.
This project uses semantic-release to automatically handle semver bumps based on the commits messages.
To simplify commits messages redaction you can use npm run cm
instead of git commit
. To use that command make sure to git add
your changes before.
This repo is configured to forbid commit messages that do not follow the Angular conventional changelog commit message format.