Skip to content

Commit

Permalink
Update golangci config
Browse files Browse the repository at this point in the history
  • Loading branch information
hbollon committed Feb 7, 2021
1 parent dfb9178 commit cd0b043
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,38 @@ issues:
max-issues-per-linter: 0
max-same-issues: 0

linters-settings:
gocyclo:
min-complexity: 30 # Will be decreased later in the devellopement
govet:
check-shadowing: true
settings:
printf:
funcs:
- (github.com/sirupsen/logrus).Debugf
- (github.com/sirupsen/logrus).Infof
- (github.com/sirupsen/logrus).Warnf
- (github.com/sirupsen/logrus).Errorf
- (github.com/sirupsen/logrus).Fatalf
misspell:
locale: US
lll:
line-length: 140


linters:
enable:
- dupl
- exportloopref
- goconst
- gocyclo
- godox
- gofmt
- goimports
- golint
- govet
- lll
- maligned
- misspell
- prealloc
- rowserrcheck
Expand All @@ -24,7 +46,7 @@ linters:
disable:
- deadcode # Disabled during early devellopment
- errcheck
- gosec # Disabled during early devellopment
- gosec
- structcheck # Disabled during early devellopment
- unused # Disabled during early devellopment
- varcheck # Disabled during early devellopment

0 comments on commit cd0b043

Please sign in to comment.