mirror of
https://github.com/logos-messaging/waku-react.git
synced 2026-01-02 14:13:10 +00:00
chore: use lint-staged for pre-commit (#6)
This commit is contained in:
parent
e4d0106499
commit
60717e5d19
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm run lint:fix
|
||||
npm run prettier:fix
|
||||
npx lint-staged
|
||||
|
||||
@ -103,7 +103,7 @@
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,tsx}": [
|
||||
"npm run fix"
|
||||
"npm run fix && npm run type"
|
||||
],
|
||||
"*.{md,json,yml}": [
|
||||
"prettier --write"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user