-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
36 lines (33 loc) · 593 Bytes
/
Copy path.golangci.yml
File metadata and controls
36 lines (33 loc) · 593 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
36
run:
timeout: 5m
tests: true
linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gofmt
- goimports
- misspell
linters-settings:
errcheck:
check-type-assertions: true
govet:
enable-all: true
disable:
- fieldalignment # Too strict for this project
misspell:
locale: US
issues:
exclude-rules:
# Ignore test files for some linters
- path: _test\.go
linters:
- errcheck
# Allow fmt.Print* in CLI code
- path: internal/cli/
linters:
- forbidigo