Skip to content

Commit 760fdec

Browse files
authored
Merge pull request #3900 from saschagrunert/lint-config
Update linter configuration
2 parents 30a62c9 + d14a150 commit 760fdec

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.golangci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ run:
33
concurrency: 6
44
timeout: 15m
55
issues:
6-
exclude-rules:
7-
# counterfeiter fakes are usually named 'fake_<something>.go'
8-
- path: fake_.*\.go
9-
linters:
10-
- gocritic
11-
- golint
12-
- dupl
13-
146
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
157
max-issues-per-linter: 0
168

@@ -149,21 +141,5 @@ linters-settings:
149141
- BUG
150142
- FIXME
151143
- HACK
152-
errcheck:
153-
check-type-assertions: true
154-
check-blank: true
155144
gocritic:
156145
enable-all: true
157-
nolintlint:
158-
# Enable to ensure that nolint directives are all used. Default is true.
159-
allow-unused: false
160-
# Disable to ensure that nolint directives don't have a leading space. Default is true.
161-
# TODO(lint): Enforce machine-readable `nolint` directives
162-
allow-leading-space: true
163-
# Exclude following linters from requiring an explanation. Default is [].
164-
allow-no-explanation: []
165-
# Enable to require an explanation of nonzero length after each nolint directive. Default is false.
166-
# TODO(lint): Enforce explanations for `nolint` directives
167-
require-explanation: false
168-
# Enable to require nolint directives to mention the specific linter being suppressed. Default is false.
169-
require-specific: true

0 commit comments

Comments
 (0)