Skip to content

Commit 5d2a7db

Browse files
committed
tenv -> usetesting. Less specialized linter configs
Signed-off-by: Ziv Nevo <[email protected]>
1 parent 490de95 commit 5d2a7db

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.golangci.yml

+1-13
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,10 @@ linters-settings:
2020
min-complexity: 15
2121
goimports:
2222
local-prefixes: github.com/np-guard
23-
mnd:
24-
# don't include the "operation" and "assign"
25-
checks: argument,case,condition,return
26-
ignored-numbers: 0,1,2,3
27-
ignored-functions: strings.SplitN
28-
govet:
29-
shadow: true
3023
lll:
3124
line-length: 140
3225
misspell:
3326
locale: US
34-
nolintlint:
35-
allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space)
36-
allow-unused: false # report any unused nolint directives
37-
require-explanation: false # don't require an explanation for nolint directives
38-
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
3927
revive:
4028
# see https://github.com/mgechev/revive#available-rules for details.
4129
ignore-generated-header: true
@@ -109,13 +97,13 @@ linters:
10997
- staticcheck
11098
- stylecheck
11199
- tagliatelle
112-
- tenv
113100
- testableexamples
114101
- typecheck
115102
- unconvert
116103
- unparam
117104
- unused
118105
- usestdlibvars
106+
- usetesting
119107
- whitespace
120108

121109
issues:

0 commit comments

Comments
 (0)