Skip to content

Commit

Permalink
ci(commitlint): introduce commitlint (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed May 18, 2021
1 parent c933895 commit fc79165
Show file tree
Hide file tree
Showing 4 changed files with 534 additions and 31 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
3 changes: 3 additions & 0 deletions commitlint.config.js
@@ -0,0 +1,3 @@
module.exports = {
extends: '@commitlint/config-conventional'
}
2 changes: 2 additions & 0 deletions package.json
@@ -1,5 +1,7 @@
{
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@inabagumi/eslint-config-react": "^9.0.1",
"@inabagumi/prettier-config": "^1.1.3",
"@types/react": "^17.0.6",
Expand Down

1 comment on commit fc79165

@vercel
Copy link

@vercel vercel bot commented on fc79165 May 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.