-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
44 lines (38 loc) · 939 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
# This file contains all available configuration options
# with their default values.
# options for analysis running
run:
allow-parallel-runners: false
deadline: 10m
linters:
enable-all: true
disable:
- wsl
- scopelint
- forbidigo
- gomnd
- interfacer
- golint
- maligned
- testpackage
- varnamelen
- varcheck
- nlreturn
- gochecknoglobals
- godox
- forcetypeassert
- paralleltest
- gochecknoinits
fast: false
gocritic:
settings:
rangeExprCopy:
# size in bytes that makes the warning trigger (default 512)
sizeThreshold: 512
# whether to check test functions (default true)
skipTestFuncs: true
rangeValCopy:
# size in bytes that makes the warning trigger (default 128)
sizeThreshold: 32
# whether to check test functions (default true)
skipTestFuncs: true