mirror of
https://github.com/restic/restic.git
synced 2025-10-19 15:43:21 +00:00
CI: use strict matching for generated source files in golangci-lint
This commit is contained in:
parent
7257cd2e5f
commit
6ebc23543d
1 changed files with 0 additions and 2 deletions
|
@ -41,7 +41,6 @@ linters:
|
||||||
# extra disables
|
# extra disables
|
||||||
- "-QF1008" # don't warn about specifing name of embedded field on access
|
- "-QF1008" # don't warn about specifing name of embedded field on access
|
||||||
exclusions:
|
exclusions:
|
||||||
generated: lax
|
|
||||||
rules:
|
rules:
|
||||||
# revive: ignore unused parameters in tests
|
# revive: ignore unused parameters in tests
|
||||||
- path: (_test\.go|testing\.go|backend/.*/tests\.go)
|
- path: (_test\.go|testing\.go|backend/.*/tests\.go)
|
||||||
|
@ -74,7 +73,6 @@ formatters:
|
||||||
# make sure code is formatted
|
# make sure code is formatted
|
||||||
- gofmt
|
- gofmt
|
||||||
exclusions:
|
exclusions:
|
||||||
generated: lax
|
|
||||||
paths:
|
paths:
|
||||||
- third_party$
|
- third_party$
|
||||||
- builtin$
|
- builtin$
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue