Add golangci linter setup
This commit is contained in:
committed by
=Michael Hohn
parent
d145731c4b
commit
b543cebfac
23
.golangci.yml
Normal file
23
.golangci.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
linters:
|
||||
enable:
|
||||
- staticcheck
|
||||
- unused
|
||||
- decorder
|
||||
- errchkjson
|
||||
- exhaustruct
|
||||
- gochecknoinits
|
||||
- gochecksumtype
|
||||
- goconst
|
||||
- gocritic
|
||||
- godox
|
||||
- lll
|
||||
- loggercheck
|
||||
- sloglint
|
||||
- tagalign
|
||||
- unparam
|
||||
|
||||
linters-settings:
|
||||
staticcheck:
|
||||
checks:
|
||||
- "SA"
|
||||
|
||||
Reference in New Issue
Block a user