forked from TrueCloudLab/lego
chore: update linter (#1570)
This commit is contained in:
parent
c1c11a0ee4
commit
3a588ea872
2 changed files with 6 additions and 2 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO_VERSION: 1.17
|
||||
GOLANGCI_LINT_VERSION: v1.43.0
|
||||
GOLANGCI_LINT_VERSION: v1.44.0
|
||||
HUGO_VERSION: 0.54.0
|
||||
SEIHON_VERSION: v0.8.3
|
||||
CGO_ENABLED: 0
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
"forcetypeassert",
|
||||
"tagliatelle",
|
||||
"errname",
|
||||
"errchkjson",
|
||||
]
|
||||
|
||||
[issues]
|
||||
|
@ -95,7 +96,7 @@
|
|||
]
|
||||
[[issues.exclude-rules]]
|
||||
path = "(.+)_test.go"
|
||||
linters = ["funlen", "goconst"]
|
||||
linters = ["funlen", "goconst", "maintidx"]
|
||||
[[issues.exclude-rules]]
|
||||
path = "providers/dns/dns_providers.go"
|
||||
linters = ["gocyclo"]
|
||||
|
@ -180,3 +181,6 @@
|
|||
[[issues.exclude-rules]]
|
||||
path = "challenge/http01/domain_matcher.go"
|
||||
text = "yodaStyleExpr"
|
||||
[[issues.exclude-rules]]
|
||||
path = "providers/dns/dns_providers.go"
|
||||
text = "Function name: NewDNSChallengeProviderByName,"
|
||||
|
|
Loading…
Reference in a new issue