chore: update husky

This commit is contained in:
Kevin Franklin Kim 2025-03-27 21:18:01 +01:00
parent 5b55eb2b84
commit 705fe333bf
No known key found for this signature in database

View File

@ -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)$'