Skip to content

Commit 9140691

Browse files
committed
fixup! Support maintidx
1 parent 4c856d9 commit 9140691

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.golangci.example.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@ linters-settings:
590590
# tab width in spaces. Default to 1.
591591
tab-width: 1
592592

593+
maintidx:
594+
# show functions with maintainability index < N only.
595+
under: 20
596+
593597
makezero:
594598
# Allow only slices initialized with a length of zero. Default is false.
595599
always: false
@@ -1117,10 +1121,6 @@ linters-settings:
11171121
force-short-decl-cuddling: false
11181122
strict-append: true
11191123

1120-
maintidx:
1121-
# show functions with maintainability index < N only.
1122-
under: 20
1123-
11241124
# The custom section can be used to define linter plugins to be loaded at runtime.
11251125
# See README doc for more info.
11261126
custom:

0 commit comments

Comments
 (0)