Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
build: add nano-staged configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 17, 2022
1 parent c875dde commit 15e3b61
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@
"@commitlint/config-conventional"
]
},
"nano-staged": {
"*.js": [
"prettier-standard"
],
"*.md": [
"standard-markdown"
],
"package.json": [
"finepack"
]
},
"simple-git-hooks": {
"commit-msg": "npx commitlint --edit",
"pre-commit": "npx nano-staged"
Expand Down

0 comments on commit 15e3b61

Please sign in to comment.