From 914069122f33294aa82d865d1bcadabd4663e5f4 Mon Sep 17 00:00:00 2001 From: yagipy Date: Sat, 15 Jan 2022 23:21:16 +0900 Subject: [PATCH] fixup! Support maintidx --- .golangci.example.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.example.yml b/.golangci.example.yml index db7e61dda44a..b07c63f86e2e 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -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 @@ -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: