-
-
Notifications
You must be signed in to change notification settings - Fork 168
Expand file tree
/
Copy path.golangci.yml
More file actions
27 lines (24 loc) · 661 Bytes
/
.golangci.yml
File metadata and controls
27 lines (24 loc) · 661 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
run:
timeout: 5m
tests: true
linters:
disable-all: true
enable:
# Baseline "industry standard" Go checks.
- govet
- staticcheck
- stylecheck
- errcheck
- ineffassign
- unused
# (intentionally NOT enabling `misspell` or `unparam` yet; both create large
# cleanup churn with current codebase conventions)
issues:
# Keep defaults, but avoid noisy duplicates.
max-same-issues: 0
max-issues-per-linter: 0
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:"