Stricter linting (#113)

This commit is contained in:
Adrian Macneil 2020-01-01 19:11:02 -10:00 committed by GitHub
parent 810bddaea8
commit 98066fadaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 3 deletions

26
.golangci.yml Normal file
View file

@ -0,0 +1,26 @@
linters:
enable:
- bodyclose
- deadcode
- depguard
- errcheck
- goimports
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
linters-settings:
goimports:
local-prefixes: github.com/amacneil/dbmate
misspell:
locale: US