Skip to content

Commit 5901e26

Browse files
committed
chore: update pre-commit config
1 parent a141cdb commit 5901e26

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@
2424
"bump": "npx bumpp"
2525
},
2626
"simple-git-hooks": {
27-
"pre-commit": "npm run lint:write"
27+
"pre-commit": "./node_modules/.bin/nano-staged"
28+
},
29+
"nano-staged": {
30+
"*": [
31+
"rslint",
32+
"prettier -w"
33+
]
2834
},
2935
"devDependencies": {
3036
"@playwright/test": "^1.59.1",

0 commit comments

Comments
 (0)