Skip to content

Commit 9d21363

Browse files
authored
chore: add pre-commit hook pretty-quick (#173)
1 parent 2594958 commit 9d21363

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.simple-git-hooks.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pre-commit": "npx pretty-quick --staged"
3+
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"axios": "^1",
2626
"eslint": "^9",
2727
"express": "^4",
28-
"jest": "^29"
28+
"jest": "^29",
29+
"pretty-quick": "^4.2.2",
30+
"simple-git-hooks": "^2.13.1"
2931
},
3032
"cds": {
3133
"requires": {

0 commit comments

Comments
 (0)