forked from TrueCloudLab/lego
chore: update linter (#1425)
This commit is contained in:
parent
f5da11cd29
commit
190b38c76a
2 changed files with 4 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
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GO_VERSION: 1.16
|
GO_VERSION: 1.16
|
||||||
GOLANGCI_LINT_VERSION: v1.39.0
|
GOLANGCI_LINT_VERSION: v1.40.1
|
||||||
HUGO_VERSION: 0.54.0
|
HUGO_VERSION: 0.54.0
|
||||||
SEIHON_VERSION: v0.8.3
|
SEIHON_VERSION: v0.8.3
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
"rangeValCopy",
|
"rangeValCopy",
|
||||||
"octalLiteral",
|
"octalLiteral",
|
||||||
"ptrToRefParam",
|
"ptrToRefParam",
|
||||||
|
"appendAssign",
|
||||||
]
|
]
|
||||||
|
|
||||||
[linters]
|
[linters]
|
||||||
|
@ -47,6 +48,7 @@
|
||||||
"interfacer", # deprecated
|
"interfacer", # deprecated
|
||||||
"maligned", # deprecated
|
"maligned", # deprecated
|
||||||
"scopelint", # deprecated
|
"scopelint", # deprecated
|
||||||
|
"golint", # deprecated
|
||||||
"cyclop", # duplicate of gocyclo
|
"cyclop", # duplicate of gocyclo
|
||||||
"lll",
|
"lll",
|
||||||
"gosec",
|
"gosec",
|
||||||
|
@ -69,6 +71,7 @@
|
||||||
"forbidigo", # not relevant
|
"forbidigo", # not relevant
|
||||||
"noctx",
|
"noctx",
|
||||||
"forcetypeassert",
|
"forcetypeassert",
|
||||||
|
"tagliatelle",
|
||||||
]
|
]
|
||||||
|
|
||||||
[issues]
|
[issues]
|
||||||
|
|
Loading…
Reference in a new issue