File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ linters-settings:
12
12
funlen :
13
13
lines : 100
14
14
statements : 50
15
+ gci :
16
+ sections :
17
+ - Standard
18
+ - Default
19
+ - Prefix(github.com/golangci/golangci-lint)
15
20
goconst :
16
21
min-len : 2
17
22
min-occurrences : 3
@@ -71,6 +76,7 @@ linters:
71
76
- errcheck
72
77
- exportloopref
73
78
- funlen
79
+ - gci
74
80
- gochecknoinits
75
81
- goconst
76
82
- gocritic
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ package golinters
3
3
import (
4
4
"strings"
5
5
6
- "github.com/golangci/golangci-lint/pkg/config"
7
- "github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
8
-
9
6
"github.com/butuzov/ireturn/analyzer"
10
7
"golang.org/x/tools/go/analysis"
8
+
9
+ "github.com/golangci/golangci-lint/pkg/config"
10
+ "github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
11
11
)
12
12
13
13
func NewIreturn (settings * config.IreturnSettings ) * goanalysis.Linter {
You can’t perform that action at this time.
0 commit comments