mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
chore: add husky pre commit
This commit is contained in:
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
_
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
||||
npx lint-staged
|
||||
|
||||
8443
package-lock.json
generated
Normal file
8443
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -40,8 +40,12 @@
|
||||
"@typescript-eslint/parser": "^6.12.0",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-config-next": "14.0.3",
|
||||
"husky": "^8.0.0",
|
||||
"lint-staged": "^15.1.0",
|
||||
"prisma": "^5.6.0",
|
||||
"typescript": "5.3.2",
|
||||
"husky": "^8.0.0"
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": "eslint --cache --fix"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user