chore: update linter. (#1346)
This commit is contained in:
parent
078f84ed34
commit
6bec917301
2 changed files with 8 additions and 1 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.15
|
||||
GOLANGCI_LINT_VERSION: v1.34.0
|
||||
GOLANGCI_LINT_VERSION: v1.36.0
|
||||
HUGO_VERSION: 0.54.0
|
||||
SEIHON_VERSION: v0.5.1
|
||||
CGO_ENABLED: 0
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
"exhaustivestruct", # too many false-positive
|
||||
"makezero", # not relevant
|
||||
"forbidigo", # not relevant
|
||||
"ifshort", # not relevant
|
||||
]
|
||||
|
||||
[issues]
|
||||
|
@ -133,3 +134,9 @@
|
|||
[[issues.exclude-rules]]
|
||||
path = "providers/dns/namecheap/namecheap_test.go"
|
||||
text = "cognitive complexity (\\d+) of func `TestDNSProvider_getHosts` is high"
|
||||
[[issues.exclude-rules]]
|
||||
path = "platform/tester/env_test.go"
|
||||
linters = ["thelper"]
|
||||
[[issues.exclude-rules]]
|
||||
path = "providers/dns/oraclecloud/oraclecloud_test.go"
|
||||
text = "SA1019: x509.EncryptPEMBlock is deprecated:"
|
||||
|
|
Loading…
Reference in a new issue