mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 02:19:25 +00:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -108,7 +108,7 @@ linters-settings:
|
||||
- standard
|
||||
- default
|
||||
- prefix(go.woodpecker-ci.org/woodpecker)
|
||||
gomnd:
|
||||
mnd:
|
||||
ignored-numbers:
|
||||
- '0o600'
|
||||
- '0o660'
|
||||
@@ -121,6 +121,13 @@ linters-settings:
|
||||
- strings.Split
|
||||
- callerName
|
||||
- securecookie.GenerateRandomKey
|
||||
godot:
|
||||
scope: toplevel
|
||||
period: true
|
||||
capital: true
|
||||
exclude:
|
||||
- '^\s*cSpell:'
|
||||
- '^\s*TODO:'
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
@@ -166,13 +173,14 @@ linters:
|
||||
- contextcheck
|
||||
- forcetypeassert
|
||||
- gci
|
||||
- gomnd
|
||||
- mnd
|
||||
- godot
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: 'fixtures|cmd/agent/flags.go|cmd/server/flags.go|pipeline/backend/kubernetes/flags.go|_test.go'
|
||||
linters:
|
||||
- gomnd
|
||||
- mnd
|
||||
|
||||
run:
|
||||
timeout: 15m
|
||||
|
Reference in New Issue
Block a user