mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
chore: update husky
This commit is contained in:
parent
5b55eb2b84
commit
705fe333bf
@ -1,6 +1,6 @@
|
|||||||
hooks:
|
hooks:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
- golangci-lint run --fast
|
- golangci-lint run --fast-only
|
||||||
- husky lint-staged
|
- husky lint-staged
|
||||||
commit-msg:
|
commit-msg:
|
||||||
# only execute if not in a merge
|
# only execute if not in a merge
|
||||||
@ -8,7 +8,7 @@ hooks:
|
|||||||
|
|
||||||
lint-staged:
|
lint-staged:
|
||||||
'*.go':
|
'*.go':
|
||||||
- goimports -l -w
|
- golangci-lint fmt
|
||||||
|
|
||||||
lint-commit:
|
lint-commit:
|
||||||
types: '^(feat|fix|build|chore|docs|perf|refactor|revert|style|test|wip)$'
|
types: '^(feat|fix|build|chore|docs|perf|refactor|revert|style|test|wip)$'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user