Skip to content

Commit

Permalink
chore: husky/commitlint導入
Browse files Browse the repository at this point in the history
Signed-off-by: Zenichi Amano <[email protected]>
  • Loading branch information
crow-misia committed Feb 16, 2024
1 parent 4ca4b5e commit f8148ea
Show file tree
Hide file tree
Showing 6 changed files with 3,085 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- '@commitlint/config-conventional'
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ updates:
- "*"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
groups:
all:
patterns:
- "*"
schedule:
interval: "daily"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ google-services.json
# macOS
.DS_Store

# Node.js
node_modules/

# not ignore
!.idea/codeStyleSettings.xml
!.idea/findbugs-idea.xml
Expand Down
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pnpm exec commitlint --edit "$1"

12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scripts": {
"prepare": "husky",
"ncu": "npm-check-updates -u"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"husky": "^9.0.11",
"npm-check-updates": "^16.14.15"
}
}
Loading

0 comments on commit f8148ea

Please sign in to comment.