-
-
Notifications
You must be signed in to change notification settings - Fork 168
Expand file tree
/
Copy path.golangci.yml
More file actions
31 lines (28 loc) · 648 Bytes
/
.golangci.yml
File metadata and controls
31 lines (28 loc) · 648 Bytes
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
27
28
29
30
31
run:
timeout: 5m
tests: true
linters:
disable-all: true
enable:
# Baseline "industry standard" Go checks.
- govet
- staticcheck
- stylecheck
- errcheck
- ineffassign
- unused
- misspell
- unparam
linters-settings:
misspell:
# Words used intentionally in Apple/ASC API context.
ignore-words:
- cancelled
- cancelling
issues:
# Keep defaults, but avoid noisy duplicates.
exclude-rules:
# Ignore stylecheck naming warnings (e.g. `app_events` package) to avoid
# massive rename churn; keep other style rules like ST1005.
- linters: [stylecheck]
text: "ST1003:"