-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.golangci.yml
51 lines (51 loc) · 903 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
47
48
49
50
51
run:
build-tags:
- integration
timeout: 10m
linters:
enable:
- dogsled
- dupl
- gocritic
- godot
- gofmt
- goimports
- gosec
- misspell
- nakedret
- perfsprint
- paralleltest
- stylecheck
- tparallel
- unconvert
- unparam
- whitespace
- contextcheck
- cyclop
- decorder
# - depguard
- dupword
# - err113
- errname
- errorlint
- exhaustive
- fatcontext
# - funlen
- gci
- gocritic
- tagalign
linters-settings:
perfsprint:
errorf: true
strconcat: false
cyclop:
# The maximal code complexity to report.
# Default: 10
max-complexity: 17
# The maximal average package complexity.
# If it's higher than 0.0 (float) the check is enabled
# Default: 0.0
package-average: 4
# Should ignore tests.
# Default: false
skip-tests: true