-
Notifications
You must be signed in to change notification settings - Fork 960
/
.golangci.yml
56 lines (49 loc) · 1023 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
52
53
54
55
56
# This file contains all available configuration options
# with their default values.
# Options for analysis running
run:
concurrency: 4
timeout: 10m
issues-exit-code: 1
tests: true
# Output configuration options
output:
formats:
- format: line-number
# All available settings of specific linters
linters-settings:
misspell:
locale: US
ignore-words:
- noteable
linters:
enable:
- asciicheck
- dogsled
- errorlint
- exportloopref
- goconst
- gosimple
- govet
- ineffassign
- megacheck
- misspell
- nakedret
- nolintlint
- staticcheck
- typecheck
- unconvert
- unused
- whitespace
disable:
- errcheck
disable-all: false
fast: false
issues:
# List of regexps of issue texts to exclude.
exclude:
- "^.*, make it a constant$"
# Maximum issues count per one linter (set to 0 to disable)
max-issues-per-linter: 0
# Maximum count of issues with the same text (set to 0 to disable)
max-same-issues: 0