1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

chore: enable formatters in golangci-lint config (#1421)

This commit is contained in:
Oleksandr Redko
2025-07-12 17:32:39 +03:00
committed by GitHub
parent 92243279ea
commit 809768cffe
12 changed files with 28 additions and 17 deletions

View File

@@ -5,8 +5,9 @@ import (
"go/ast"
"go/token"
"github.com/mgechev/revive/lint"
"golang.org/x/tools/go/ast/astutil"
"github.com/mgechev/revive/lint"
)
// CognitiveComplexityRule sets restriction for maximum cognitive complexity.