Skip to content

Commit

Permalink
chore(lint): add stricter linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
aliscott committed Oct 9, 2020
1 parent df8b77e commit 627a38f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .golangci.yml
@@ -0,0 +1,25 @@
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- errcheck
- gocritic
- gofmt
- golint
- gosec
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- structcheck
- typecheck
- unused
- varcheck

linters-settings:
gocritic:
disabled-checks:
- ifElseChain

0 comments on commit 627a38f

Please sign in to comment.