Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
GolangCI Linters should not use enable all
Browse files Browse the repository at this point in the history
  • Loading branch information
im-kulikov committed Jan 16, 2022
1 parent fc1c7b9 commit 743355a
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
linters:
enable-all: true
enable-all: false
enable:
- unparam
- whitespace
- unconvert
- bodyclose
- gofmt
- gocritic
- godot
- prealloc
- rowserrcheck
- unconvert
- lll
- cyclop
- gci
- gosec
- prealloc
- revive
- gochecknoglobals
- funlen
disable:
- testpackage
- wrapcheck
- interfacer
- scopelint
- maligned
- paralleltest
- tparallel
- stylecheck
- golint
- exhaustivestruct
- errcheck
- ineffassign

linters-settings:
govet:
Expand Down

0 comments on commit 743355a

Please sign in to comment.