Skip to content

Commit

Permalink
chore: add linting for commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosanif committed Jul 27, 2021
1 parent d9e930e commit 6684e1e
Show file tree
Hide file tree
Showing 4 changed files with 793 additions and 0 deletions.
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 $1
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};
Loading

0 comments on commit 6684e1e

Please sign in to comment.