- Fork it
- Install dependencies (
yarn install
) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'feat: added some feature'
) - Test your changes (
yarn test
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
We use Jest to write tests. Run our test suite with this command:
yarn test
We use Prettier and tslint to maintain code style and best practices. Please make sure your PR adheres to the guides by running:
yarn format
and
yarn lint
commitlint checks if your commit messages meet the conventional commit format.
In general the pattern mostly looks like this:
type(scope?): subject #scope is optional; multiple scopes are supported (current delimiter options: "/", "\" and ",")
Real world examples can look like this:
chore: run tests on travis ci
fix(server): send cors headers
feat(blog): add comment section
Common types according to commitlint-config-conventional (based on the Angular convention) can be:
- build
- ci
- chore
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test