forked from BIwashi/go-rookie-gym
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
46 lines (43 loc) · 835 Bytes
/
.golangci.yml
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
37
38
39
40
41
42
43
44
45
46
run:
timeout: 10m
skip-files: [
"db_benchmark_test.go",
]
skip-dirs: []
go: 1.17
linters-settings:
misspell:
locale: US
govet:
# report about shadowed variables
# FYI https://github.com/golang/go/blob/4a381e3ee3ad6104fc1e1bc255f29d6bf47d7969/src/cmd/vet/shadow.go
enable-all: true
check-shadowing: false
disable:
- fieldalignment
- shadow
staticcheck:
checks: ["all", "-S1*", "-ST1*", "-SA5011", "-SA1019", "-SA2002"]
linters:
disable-all: true
enable:
- bodyclose
- forcetypeassert
- gocritic
- goimports
- gosimple
- govet
- ifshort
- makezero
- misspell
- nilerr
- noctx
- revive
- staticcheck
- varcheck
- unused
issues:
exclude-use-default: true
max-per-linter: 0
max-same-issues: 0
exclude: []