mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
refactor(management): start the move to lefthook
This commit is contained in:
21
.lefthook.yml
Normal file
21
.lefthook.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
no_tty: true
|
||||
|
||||
lint:
|
||||
parallel: true
|
||||
commands:
|
||||
yamllint: &yamllint
|
||||
glob: "*.{yaml,yml}"
|
||||
run: >-
|
||||
docker run --rm -v "$PWD:/code" 'registry.gitlab.com/pipeline-components/yamllint:latest'
|
||||
yamllint '.'
|
||||
|
||||
pre-commit:
|
||||
parallel: true
|
||||
commands:
|
||||
yamllint:
|
||||
<<: *yamllint
|
||||
|
||||
# commit-msg:
|
||||
# commands:
|
||||
# commitlint:
|
||||
# run: commitlint --edit
|
||||
Reference in New Issue
Block a user