From 3498b7d3a827304408789481a1bb2802ad7da2ec Mon Sep 17 00:00:00 2001 From: 0x524a Date: Tue, 2 Dec 2025 01:01:36 -0500 Subject: [PATCH] chore: refine .golangci.yml configuration - Removed unnecessary skip-dirs and skip-files settings to streamline linter checks. - Updated linters by replacing 'gomnd' with 'mnd' for better naming consistency. - Removed the govet section to simplify configuration. - Adjusted output formats for clearer reporting of linter results. --- .golangci.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index fe02696..3ca335d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,12 +1,6 @@ run: timeout: 5m tests: true - skip-dirs: - - vendor - - testdata - skip-files: - - ".*\\.pb\\.go$" - - ".*\\.gen\\.go$" linters: enable: @@ -41,13 +35,11 @@ linters: - exhaustive - godot - goerr113 - - gomnd + - mnd - goprintffuncname - nlreturn - noctx - nolintlint - - rowserrcheck - - sqlclosecheck - thelper - tparallel - wastedassign @@ -57,10 +49,6 @@ linters-settings: check-type-assertions: true check-blank: true - govet: - check-shadowing: true - enable-all: true - gocyclo: min-complexity: 15 @@ -127,8 +115,5 @@ issues: exclude-use-default: false output: - formats: - - colored-line-number print-issued-lines: true print-linter-name: true - uniq-by-line: false