Skip to content

Commit

Permalink
fix: commitlint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Zivolo committed Nov 30, 2018
1 parent 29598c2 commit f9b1a75
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
2 changes: 1 addition & 1 deletion .huskyrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
hooks: {
commitmsg: 'commitlint -e $GIT_PARAMS',
'commit-msg': 'commitlint -e $GIT_PARAMS',
'pre-commit': 'lint-staged',
},
};
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
"test": "jest --watch",
"test:ci": "jest --coverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,jsx,md,json}": [
"prettier --write",
Expand Down

0 comments on commit f9b1a75

Please sign in to comment.