Skip to content

Commit

Permalink
fixup! Support maintidx
Browse files Browse the repository at this point in the history
  • Loading branch information
yagipy committed Jan 15, 2022
1 parent 4c856d9 commit 9140691
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .golangci.example.yml
Expand Up @@ -590,6 +590,10 @@ linters-settings:
# tab width in spaces. Default to 1.
tab-width: 1

maintidx:
# show functions with maintainability index < N only.
under: 20

makezero:
# Allow only slices initialized with a length of zero. Default is false.
always: false
Expand Down Expand Up @@ -1117,10 +1121,6 @@ linters-settings:
force-short-decl-cuddling: false
strict-append: true

maintidx:
# show functions with maintainability index < N only.
under: 20

# The custom section can be used to define linter plugins to be loaded at runtime.
# See README doc for more info.
custom:
Expand Down

0 comments on commit 9140691

Please sign in to comment.