Skip to content

Commit

Permalink
Merge pull request #1669 from mesg-foundation/refactor/golangci-lint
Browse files Browse the repository at this point in the history
Use disable-all instead of enable-all in golangci config
  • Loading branch information
Nicolas Mahé authored Feb 19, 2020
2 parents e691c81 + 1f2ec03 commit e40f423
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,28 @@ issues:
text: "exported var Translator should have its own declaration"

linters:
enable-all: true
disable:
- depguard
- dupl
- errcheck
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- gosec
- interfacer
- lll
- prealloc
- stylecheck
- wsl
- gochecknoinits
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- maligned
- misspell
- nakedret
- scopelint
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace

0 comments on commit e40f423

Please sign in to comment.