-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
33 lines (33 loc) · 794 Bytes
/
.golangci.yaml
File metadata and controls
33 lines (33 loc) · 794 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
linters:
enable:
# enabled by default
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
# disabled by default
- asasalint
- asciicheck
- bodyclose
- copyloopvar
- gofumpt
- unparam
- wastedassign
linters-settings:
staticcheck:
checks:
- all
- "-ST1000" # Incorrect or missing package comment
- "-ST1003" # Poorly chosen identifier
- "-ST1016" # Use consistent method receiver names
gofumpt:
# Module path which contains the source code being formatted.
# Default: ""
module-path: linux-windows-switcher
# Choose whether to use the extra rules.
# Default: false
extra-rules: false
run:
timeout: 5m