mirror of
https://github.com/restic/restic.git
synced 2025-10-19 07:33: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
|
||||
- "-QF1008" # don't warn about specifing name of embedded field on access
|
||||
exclusions:
|
||||
generated: lax
|
||||
rules:
|
||||
# revive: ignore unused parameters in tests
|
||||
- path: (_test\.go|testing\.go|backend/.*/tests\.go)
|
||||
|
@ -74,7 +73,6 @@ formatters:
|
|||
# make sure code is formatted
|
||||
- gofmt
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue