Skip to content

Commit

Permalink
feat: adding commitlint and husky to enforce it
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbarcarol committed May 16, 2021
1 parent 9bc72b9 commit 4d02510
Show file tree
Hide file tree
Showing 5 changed files with 1,742 additions and 39 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
7 changes: 7 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-disable no-undef */

module.exports = {
extends: [
'@commitlint/config-conventional',
],
};
Loading

0 comments on commit 4d02510

Please sign in to comment.