mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 09:25:07 +01:00
Stricter linting (#113)
This commit is contained in:
parent
810bddaea8
commit
98066fadaa
5 changed files with 33 additions and 3 deletions
26
.golangci.yml
Normal file
26
.golangci.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue