mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Misc lint fixes
This commit is contained in:
@ -12,6 +12,7 @@ linters:
|
||||
- test
|
||||
- unused
|
||||
disable:
|
||||
- dupl
|
||||
- exhaustive
|
||||
- exhaustivestruct
|
||||
- gochecknoglobals
|
||||
@ -21,9 +22,11 @@ linters:
|
||||
- gomnd
|
||||
- interfacer
|
||||
- maligned
|
||||
- nilnil
|
||||
- nlreturn
|
||||
- scopelint
|
||||
- testpackage
|
||||
- varnamelen
|
||||
- wrapcheck
|
||||
|
||||
linters-settings:
|
||||
@ -31,6 +34,8 @@ linters-settings:
|
||||
local-prefixes: github.com/dstotijn/hetty
|
||||
godot:
|
||||
capital: true
|
||||
ireturn:
|
||||
allow: "error,empty,anon,stdlib,.*(or|er)$,github.com/99designs/gqlgen/graphql.Marshaler,github.com/dstotijn/hetty/pkg/api.QueryResolver,github.com/dstotijn/hetty/pkg/search.Expression"
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
|
Reference in New Issue
Block a user