add staticcheck
This commit is contained in:
parent
07f29ac433
commit
9699582d72
1 changed files with 10 additions and 0 deletions
10
staticcheck.conf
Normal file
10
staticcheck.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
checks = ["all", "-ST1005", "-ST1000", "-ST1003", "-ST1016"]
|
||||
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"]
|
||||
dot_import_whitelist = []
|
||||
http_status_code_whitelist = ["200", "400", "404", "500"]
|
Loading…
Add table
Reference in a new issue