This website requires JavaScript.
Explore
Help
Sign In
mirror
/
github-readme-stats
Watch
2
Star
0
Fork
0
You've already forked github-readme-stats
mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced
2024-12-27 06:25:47 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4e69e3a358
github-readme-stats
/
.husky
/
pre-commit
7 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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>
2022-10-07 18:33:54 +08:00
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm test
build: rename lint command (#2909) This commit renames the eslint npm command so that it is consistent with the naming used for the other commands.
2023-07-05 06:08:59 +08:00
npm run lint
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>
2022-10-07 18:33:54 +08:00
npx lint-staged
Reference in New Issue
Copy Permalink