28 lines
598 B
YAML
28 lines
598 B
YAML
linters:
|
|
enable-all: true
|
|
disable:
|
|
- golint
|
|
- scopelint
|
|
- maligned
|
|
- interfacer
|
|
- wsl
|
|
- forbidigo
|
|
- nlreturn
|
|
- testpackage
|
|
- ifshort
|
|
- exhaustivestruct
|
|
- gci # not working, shows errors on freshly formatted file
|
|
- varnamelen
|
|
- lll
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
- io/ioutil.ReadFile
|
|
- io.Copy(*bytes.Buffer)
|
|
- (*github.com/gin-gonic/gin.Context).AbortWithError
|
|
- (*github.com/gin-gonic/gin.Context).AbortWithError
|
|
- io.Copy(os.Stdout)
|
|
varnamelen:
|
|
ignore-decls:
|
|
- c *gin.Context
|