Skip to content

Commit

Permalink
chore: Add staticcheck config
Browse files Browse the repository at this point in the history
this is all default except to ignore duplicate struct tags
  • Loading branch information
ja-he committed Jul 9, 2024
1 parent 50f3ca7 commit d82c48b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions staticcheck.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
checks = ["all", "-SA9003", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023", "-SA5008"]
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 = ["github.com/mmcloughlin/avo/build", "github.com/mmcloughlin/avo/operand", "github.com/mmcloughlin/avo/reg"]
http_status_code_whitelist = ["200", "400", "404", "500"]

0 comments on commit d82c48b

Please sign in to comment.