add golangci-lint
This commit is contained in:
parent
52a56e7d7d
commit
55af162ec7
18
.golangci.yml
Normal file
18
.golangci.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
linters:
|
||||||
|
fast: true
|
||||||
|
presets:
|
||||||
|
- bugs
|
||||||
|
- comment
|
||||||
|
- complexity
|
||||||
|
- error
|
||||||
|
- format
|
||||||
|
- import
|
||||||
|
- metalinter
|
||||||
|
- module
|
||||||
|
- performance
|
||||||
|
- sql
|
||||||
|
- style
|
||||||
|
- test
|
||||||
|
- unused
|
||||||
|
disable:
|
||||||
|
- wsl
|
||||||
Loading…
x
Reference in New Issue
Block a user