mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-04-24 13:55:00 +00:00
19 lines
402 B
YAML
19 lines
402 B
YAML
# Validate commit messages
|
|
commit-msg:
|
|
commands:
|
|
commitlint:
|
|
run: npx --no -- commitlint --edit {1}
|
|
|
|
# Validate content before committing
|
|
pre-commit:
|
|
commands:
|
|
lint:
|
|
glob: '*'
|
|
run: npx --no -- eslint --fix --no-warn-ignored {staged_files}
|
|
stage_fixed: true
|
|
priority: 1
|
|
check-types:
|
|
glob: '*.{ts,tsx}'
|
|
run: npm run check:types
|
|
priority: 2
|