Skip to content

Commit

Permalink
build: add commitlint, husky, lint-staged and commitizen
Browse files Browse the repository at this point in the history
  • Loading branch information
umutcanbolat committed Oct 5, 2019
1 parent 0e8dd38 commit 2266fd5
Show file tree
Hide file tree
Showing 5 changed files with 1,821 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
# prevent travis to clean build files
# prevent travis from cleaning build files
skip_cleanup: true
on:
tags: true
Expand All @@ -36,6 +36,6 @@ jobs:
skip_cleanup: true
on:
tags: true
- stage: upload coverage
- stage: codecov upload
script: npm test -- --coverage
after_script: codecov --token=$CODECOV_TOKEN
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ unrepeat(chorus.repeat(3));
//=> { repeated: 'Because I\'m happy. ', count: 3 }
```

## Conributing

PR's are always welcome. There is only one thing to know before contributing. Commit messages must comply with [conventional commits](https://www.conventionalcommits.org). Otherwise [husky](https://github.com/typicode/husky) will complain. :)

Thanks to [commitizen](https://github.com/commitizen), `npm run commit` command can be used to create commit messages complying with conventional commits.

## Releasing

See the [RELEASING](RELEASING.md) for details.
See [RELEASING](RELEASING.md) for details.

## Credits

Expand Down
Loading

0 comments on commit 2266fd5

Please sign in to comment.