Skip to content

Commit

Permalink
Update golangci-lint configuration (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Mar 13, 2021
1 parent 92aa87a commit c852a6c
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ linters:
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
# default linters:
- deadcode
- errcheck
- gosimple
Expand All @@ -29,8 +28,6 @@ linters:
- typecheck
- unused
- varcheck
# linters disabled by default:
- asciicheck
- bodyclose
- depguard
- dogsled
Expand All @@ -44,40 +41,28 @@ linters:
- gocritic
- gocyclo
- godot
- godox
- goerr113
- gofmt
- gofumpt
- goimports
- golint
- gomnd
- gomodguard
- goprintffuncname
- gosec
- interfacer
- lll
- maligned
- misspell
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
- rowserrcheck
- scopelint
- sqlclosecheck
- stylecheck
- unconvert
- unparam
- whitespace
- wsl
- exhaustivestruct
- errorlint
- tparallel
- wrapcheck
# don't enable:
# - go-header
# - testpackage
# - godox

issues:
# enable issues excluded by default
Expand Down

0 comments on commit c852a6c

Please sign in to comment.