forked from turbot/steampipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
44 lines (41 loc) · 831 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
linters:
disable-all: true
enable:
# default rules
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# other rules
- asasalint
- asciicheck
- bidichk
- durationcheck
- exportloopref
- forbidigo
- gocritic
- gocheckcompilerdirectives
- gosec
- makezero
- nilerr
- nolintlint
- reassign
- sqlclosecheck
- unconvert
linters-settings:
nolintlint:
require-explanation: true
require-specific: true
gocritic:
disabled-checks:
- ifElseChain # style
- singleCaseSwitch # style & it's actually not a bad idea to use single case switch in some cases
- assignOp # style
- commentFormatting # style
run:
timeout: 5m
skip-dirs:
- "tests/acceptance"