mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added husky
This commit is contained in:
parent
f55665c981
commit
6957813cd0
4 changed files with 13 additions and 8 deletions
|
@ -98,7 +98,10 @@
|
|||
},
|
||||
"lint-staged": {
|
||||
"./**/*.{js,jsx,ts,tsx}": [
|
||||
"next lint --fix"
|
||||
"eslint --fix"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"pre-push": "lint-staged"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue