Add GitHub Actions
This commit is contained in:
21
.golangci.yaml
Normal file
21
.golangci.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- "deadcode"
|
||||
- "errcheck"
|
||||
- "errorlint"
|
||||
- "gofmt"
|
||||
- "gosimple"
|
||||
- "govet"
|
||||
- "ineffassign"
|
||||
- "makezero"
|
||||
- "misspell"
|
||||
- "nakedret"
|
||||
- "nilerr"
|
||||
- "staticcheck"
|
||||
- "structcheck"
|
||||
- "unconvert"
|
||||
- "unparam"
|
||||
- "unused"
|
||||
- "varcheck"
|
||||
Reference in New Issue
Block a user