Add staticcheck tool
This commit is contained in:
15
vendor/honnef.co/go/tools/config/example.conf
vendored
Normal file
15
vendor/honnef.co/go/tools/config/example.conf
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
checks = ["all", "-SA9003", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023"]
|
||||
initialisms = ["ACL", "API", "ASCII", "CPU", "CSS", "DNS",
|
||||
"EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID",
|
||||
"IP", "JSON", "QPS", "RAM", "RPC", "SLA",
|
||||
"SMTP", "SQL", "SSH", "TCP", "TLS", "TTL",
|
||||
"UDP", "UI", "GID", "UID", "UUID", "URI",
|
||||
"URL", "UTF8", "VM", "XML", "XMPP", "XSRF",
|
||||
"XSS", "SIP", "RTP", "AMQP", "DB", "TS"]
|
||||
dot_import_whitelist = [
|
||||
"simd/archsimd",
|
||||
"github.com/mmcloughlin/avo/build",
|
||||
"github.com/mmcloughlin/avo/operand",
|
||||
"github.com/mmcloughlin/avo/reg",
|
||||
]
|
||||
http_status_code_whitelist = ["200", "400", "404", "500"]
|
||||
Reference in New Issue
Block a user