This website works better with JavaScript.
Home
Explore
Help
Sign In
sizhiheng
/
sg-cloud
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18
Commits
1
Branch
0
Tags
1.4 MiB
Tree:
e8c65cf9e7
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e8c65cf9e7'
${ noResults }
sg-cloud
/
.husky
/
pre-commit
5 lines
69 B
Raw
Normal View
History
【集成】提交校验:git 提交 eslint校验 (husky 和 lint-staged)
1 year ago
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged