mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
parent
db45b9032c
commit
136f2db55b
2 changed files with 18 additions and 2 deletions
|
@ -6,8 +6,6 @@ repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-yaml
|
|
||||||
exclude: 'pipeline/frontend/yaml/linter/schema/.woodpecker/test-merge-map-and-sequence.yml'
|
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/golangci/golangci-lint
|
- repo: https://github.com/golangci/golangci-lint
|
||||||
|
@ -32,6 +30,11 @@ repos:
|
||||||
rev: v3.1.0
|
rev: v3.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
|
rev: v1.32.0
|
||||||
|
hooks:
|
||||||
|
- id: yamllint
|
||||||
|
args: [--strict, -c=.yamllint.yaml]
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
autofix_commit_msg: |
|
autofix_commit_msg: |
|
||||||
|
|
13
.yamllint.yaml
Normal file
13
.yamllint.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
ignore-from-file:
|
||||||
|
- docs/.gitignore
|
||||||
|
- docs/plugins/woodpecker-plugins/.gitignore
|
||||||
|
- .gitignore
|
||||||
|
- server/store/datastore/migration/testfiles/.gitignore
|
||||||
|
- web/.gitignore
|
||||||
|
|
||||||
|
rules:
|
||||||
|
line-length: disable
|
||||||
|
document-start: disable
|
||||||
|
comments: disable
|
Loading…
Reference in a new issue