From b509edc511bffd37dcc9ec0c01dbe3e7895eaa81 Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Tue, 29 Mar 2022 16:37:23 +0300 Subject: [PATCH] Add CSV abbreviation to stylecheck. --- .golangci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 207bcb7..f91a73b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -43,6 +43,13 @@ linters-settings: stylecheck: # https://staticcheck.io/docs/options#checks checks: ["all", "-ST1018"] + # https://staticcheck.io/docs/options#initialisms + 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", "CSV", + ] + linters: disable-all: true