-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.golangci.yml
51 lines (49 loc) · 931 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
# Configuration for golangci-lint
# See https://golangci-lint.run/ for more information.
run:
concurrency: 4
timeout: 5m
# Include test files or not
tests: false
linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- decorder
- dogsled
- dupword
- errcheck
- errname
- errorlint
- funlen
- goconst
- gofumpt
- gosec
- gosimple
- govet
- grouper
- ineffassign
- interfacebloat
- lll
- misspell
- nestif
- nilerr
- nilnil
- nlreturn
- nonamedreturns
- staticcheck
- typecheck
- unused
- varnamelen
- wrapcheck
linters-settings:
lll:
# Max line length, lines longer will be reported.
# '\t' is counted as 1 character by default, and can be changed with the tab-width option.
# Default: 120.
line-length: 120
# Tab width in spaces.
# Default: 1
tab-width: 1