mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-06 16:19:46 +00:00
Add format script to pre-commit hook (#2146)
* Add format script to pre-commit hook * build: add husky prepare step * build: add lint-staged * build: add lint-staged Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
co-authored by
rickstaa
parent
bcb8ae9281
commit
e8dfbde7bb
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
||||
npx lint-staged
|
||||
Reference in New Issue
Block a user