From cfe64ed8b6d94c796ade7bb8e6f23b243c161469 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Tue, 7 Sep 2021 13:08:46 -0700 Subject: [PATCH] cleanup: fix order of linters in the golangci-lint config (#6910) This is a cosmetic change that restores lexicographic order to the selected linters in the CI config. No change to which linters we run, only putting them back in order so it's easier to spot the one you care about. --- .golangci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 574ed22b0..b62f926e2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,14 +1,17 @@ linters: enable: + - asciicheck - bodyclose - deadcode - depguard - dogsled - dupl - errcheck + - exportloopref # - funlen # - gochecknoglobals # - gochecknoinits + # - gocognit - goconst - gocritic # - gocyclo @@ -22,11 +25,11 @@ linters: - ineffassign # - interfacer - lll - - misspell # - maligned + - misspell - nakedret + - nolintlint - prealloc - - exportloopref - staticcheck - structcheck - stylecheck @@ -37,9 +40,6 @@ linters: - varcheck # - whitespace # - wsl - # - gocognit - - nolintlint - - asciicheck issues: exclude-rules: