mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
17 lines
390 B
YAML
17 lines
390 B
YAML
hooks:
|
|
pre-commit:
|
|
- golangci-lint run --fast
|
|
- husky lint-staged
|
|
commit-msg:
|
|
- husky lint-commit
|
|
|
|
lint-staged:
|
|
'*.go':
|
|
- goimports -l -w
|
|
- gofmt -l -w
|
|
|
|
lint-commit:
|
|
email: '^(.+@bestbytes.com)$'
|
|
types: '^(feat|fix|build|chore|docs|perf|refactor|revert|style|test|wip)$'
|
|
header: '^(?P<type>\w+)(\((?P<scope>[\w/.-]+)\))?(?P<breaking>!)?:( +)?(?P<header>.+)'
|