Skip to content

Commit

Permalink
fix: add more linters
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jun 10, 2020
1 parent 8ee426a commit 8e6c5a2
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ run:
tests: false
skip-files:
- "testing.go"
- ".*\\.pb\\.go"
- ".*\\.gen\\.go"

linters-settings:
golint:
Expand All @@ -18,17 +20,36 @@ linters-settings:
linters:
disable-all: true
enable:
- goconst
- misspell
- bodyclose
- deadcode
- misspell
- structcheck
- depguard
- dogsled
- dupl
- errcheck
- unused
- varcheck
- staticcheck
- unconvert
- funlen
- gochecknoinits
#- gocognit
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- interfacer
- maligned
- misspell
- nakedret
- prealloc
- scopelint
- staticcheck
- structcheck
#- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace

0 comments on commit 8e6c5a2

Please sign in to comment.