mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
8f183c82a8
- add tests to fetch changed files - ignore error if gitea version is to low - adjust docs accordingly Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
45 lines
735 B
YAML
45 lines
735 B
YAML
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
misspell:
|
|
locale: US
|
|
gofumpt:
|
|
lang-version: "1.16"
|
|
extra-rules: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bidichk
|
|
- deadcode
|
|
- errcheck
|
|
- gofmt
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- revive
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
- gofumpt
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
linters:
|
|
- deadcode
|
|
- unused
|
|
# gin force us to use string as context key
|
|
- path: server/store/context.go
|
|
linters:
|
|
- staticcheck
|
|
- revive
|