Skip to content

Commit 170a64f

Browse files
authored
fix: remove deprecated options from golangci-lint (#303)
* fix: change deprecated check-shadowing to shadow for govet linter * fix: remove deprecated allow-leading-space option for nolintlint linter
1 parent 8608fef commit 170a64f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.golangci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ linters-settings:
77
goimports:
88
local-prefixes: github.com/golang-templates/seed
99
govet:
10-
check-shadowing: true
10+
shadow: true
1111
misspell:
1212
locale: US
1313
nolintlint:
14-
allow-leading-space: false # require machine-readable nolint directives (with no leading space)
1514
allow-unused: false # report any unused nolint directives
1615
require-explanation: true # require an explanation for nolint directives
1716
require-specific: false # don't require nolint directives to be specific about which linter is being skipped

0 commit comments

Comments
 (0)