Skip to content

Commit

Permalink
chore: update linter (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jun 8, 2021
1 parent f5da11c commit 190b38c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
env:
GO_VERSION: 1.16
GOLANGCI_LINT_VERSION: v1.39.0
GOLANGCI_LINT_VERSION: v1.40.1
HUGO_VERSION: 0.54.0
SEIHON_VERSION: v0.8.3
CGO_ENABLED: 0
Expand Down
3 changes: 3 additions & 0 deletions .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"rangeValCopy",
"octalLiteral",
"ptrToRefParam",
"appendAssign",
]

[linters]
Expand All @@ -47,6 +48,7 @@
"interfacer", # deprecated
"maligned", # deprecated
"scopelint", # deprecated
"golint", # deprecated
"cyclop", # duplicate of gocyclo
"lll",
"gosec",
Expand All @@ -69,6 +71,7 @@
"forbidigo", # not relevant
"noctx",
"forcetypeassert",
"tagliatelle",
]

[issues]
Expand Down

0 comments on commit 190b38c

Please sign in to comment.