File tree Expand file tree Collapse file tree 2 files changed +15
-23
lines changed Expand file tree Collapse file tree 2 files changed +15
-23
lines changed Original file line number Diff line number Diff line change @@ -27,41 +27,34 @@ repos:
2727 - id : codespell
2828 files : " ^(docs/content|pkg|test)/.*"
2929 - repo : https://github.com/astral-sh/ruff-pre-commit
30- rev : v0.1.7
30+ rev : v0.1.11
3131 hooks :
3232 - id : ruff
3333 args : ["--fix"]
3434 - id : ruff-format
35+ - repo : https://github.com/igorshubovych/markdownlint-cli
36+ rev : v0.38.0
37+ hooks :
38+ - id : markdownlint-fix-docker
39+ - repo : https://github.com/adrienverge/yamllint.git
40+ rev : v1.33.0
41+ hooks :
42+ - id : yamllint
43+ args : [-c=.yamllint]
44+ - repo : https://github.com/golangci/golangci-lint
45+ rev : v1.55.2
46+ hooks :
47+ - id : golangci-lint
48+ args : ["./pkg/...", "./test/..."]
3549 - repo : local
3650 hooks :
37- - id : lint-markdown
38- name : " Lint Markdown"
39- entry : make
40- args : ["lint-md"]
41- language : system
42- types : [markdown]
43- pass_filenames : false
44- - id : lint-go
45- name : " Lint GO"
46- entry : make
47- args : ["lint-go"]
48- language : system
49- types : [go]
50- pass_filenames : false
5151 - id : test
5252 name : " Unit testing"
5353 entry : make
5454 args : ["test"]
5555 language : system
5656 types : [go]
5757 pass_filenames : false
58- - id : lint-yaml
59- name : " Lint YAML"
60- entry : make
61- args : ["lint-yaml"]
62- language : system
63- types : [yaml]
64- pass_filenames : false
6558 - id : check-generated
6659 name : " Check generated vendor and golden files"
6760 entry : make
Original file line number Diff line number Diff line change 8383 workingDir : $(workspaces.source.path)
8484 script : |
8585 shellcheck $(find hack/ -type f -regex ".*sh" -print)
86-
8786 - name : gitlint
8887 displayName : " Git commit linter"
8988 runAfter :
You can’t perform that action at this time.
0 commit comments