forked from aws/aws-lambda-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
26 lines (24 loc) · 778 Bytes
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
linters:
disable-all: true
enable:
- gofmt
- errcheck
- deadcode
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- stylecheck
run:
skip-files:
# These were code-generated, and cannot be changed without breaking RPC compatibility.
- lambda/messages/*.go
linters-settings:
stylecheck:
go: "1.17"
checks: ["all"]
initialisms: ["AWS", "ARN", "IAM", "MQTT", "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"]