fix: .golangci.yml key 'linters-settings' duplicate entry (#15589)

This commit is contained in:
jiuker 2022-08-26 14:06:06 +08:00 committed by GitHub
parent 99fbfe2421
commit d7cd857c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,12 @@
linters-settings:
golint:
min-confidence: 0
gofumpt:
lang-version: "1.17"
# Choose whether or not to use the extra rules that are disabled
# by default
extra-rules: false
misspell:
locale: US
@ -24,14 +30,6 @@ linters:
- tenv
- durationcheck
linters-settings:
gofumpt:
lang-version: "1.17"
# Choose whether or not to use the extra rules that are disabled
# by default
extra-rules: false
issues:
exclude-use-default: false
exclude: