-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
32 lines (30 loc) · 721 Bytes
/
.golangci.yml
File metadata and controls
32 lines (30 loc) · 721 Bytes
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
linters-settings:
errcheck:
# path to a file containing a list of functions to exclude from checking
# see https://github.com/kisielk/errcheck#excluding-functions for details
exclude: .errcheck-exclude.txt
linters:
enable:
- revive
- misspell
- goimports
- wsl
- funlen
- staticcheck
- bodyclose
- errorlint
- goconst
- gofmt
- goheader
- importas
- nilerr
- gocritic
- nakedret
- whitespace
- unparam
- nolintlint
issues:
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0