From d49c824d32fac7f0ee28ae717b9e2427c24a88c0 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Wed, 28 Apr 2021 22:19:53 +0800 Subject: [PATCH] fix: remove unused linters --- .golangci.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 36077e2..8a7a0f9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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