Skip to content

Commit

Permalink
Update linter configuration to newer version
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrisker committed Feb 7, 2022
1 parent 93fd63f commit 36cc5b8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
37 changes: 22 additions & 15 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,29 @@

run:
skip-dirs: (assets|docs|templates|vendor)
deadline: 5m
issues-exit-code: 1
modules-download-mode: readonly
issues:
max-same-issues: 0

linters:
disable-all: true
enable:
- deadcode
- gas
- goconst
- gofmt
- golint
- govet
- ineffassign
- lll
- megacheck
- misspell
- structcheck
- unconvert
- unparam
- varcheck
- whitespace
- deadcode
- gas
- goconst
- gofmt
- govet
- ineffassign
- lll
- megacheck
- misspell
- structcheck
- staticcheck
- unconvert
- varcheck
linters-settings:
staticcheck:
go: "1.16"

2 changes: 1 addition & 1 deletion .golangciversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.27.0
1.43.0

0 comments on commit 36cc5b8

Please sign in to comment.