-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy path.golangci.yml
More file actions
35 lines (35 loc) · 825 Bytes
/
.golangci.yml
File metadata and controls
35 lines (35 loc) · 825 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
32
33
34
35
version: "2"
linters:
settings:
staticcheck:
dot-import-whitelist:
- "github.com/volkszaehler/mbmd/meters"
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- path: (.+)\.go$
text: "`sunspecModelID` is unused"
- path: (.+)\.go$
text: "`printModel` is unused"
- path: (.+)\.go$
text: "func printModel is unused"
- path: (.+)\.go$
text: "func \\(\\*SunSpec\\).sanitizeModels is unused"
- path: (.+)\.go$
text: "func \\(\\*SunSpec\\).relevantModelIds is unused"
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$