1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-15 06:10:12 -07:00

fix: remove unused linters

This commit is contained in:
kha7iq 2021-04-28 22:19:53 +08:00
parent cd4b86ef95
commit d49c824d32

View File

@ -9,29 +9,12 @@ linters-settings:
goconst:
min-len: 2
min-occurrences: 2
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
- ifElseChain
- octalLiteral
- whyNoLint
- wrapperFunc
gocyclo:
min-complexity: 15
goimports:
local-prefixes: github.com/golangci/golangci-lint
golint:
min-confidence: 0
gomnd:
settings:
mnd:
# don't include the "operation" and "assign"
checks: argument,case,condition,return
govet:
check-shadowing: true
settings:
@ -86,11 +69,3 @@ linters:
- unused
- varcheck
- whitespace
# issues:
# # Excluding configuration per-path, per-linter, per-text and per-source
# exclude-rules:
# - path: _test\.go
# linters:
# - gomnd