diff --git a/.golangci.yml b/.golangci.yml index 3986c76..75daa98 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -93,7 +93,9 @@ linters-settings: # [deprecated] comma-separated list of pairs of the form pkg:regex # the regex is used to ignore names within pkg. (default "fmt:.*"). # see https://github.com/kisielk/errcheck#the-deprecated-method for details - exclude-functions: fmt:.*,io/ioutil:^Read.* + exclude-functions: + - fmt:.* + - io/ioutil:^Read.* # path to a file containing a list of functions to exclude from checking # see https://github.com/kisielk/errcheck#excluding-functions for details @@ -109,7 +111,7 @@ linters-settings: gci: # put imports beginning with prefix after 3rd-party packages; sections: - prefix(github.com/org/project) + - prefix(github.com/org/project) gocognit: # minimal code complexity to report, 30 by default (but we recommend 10-20) min-complexity: 10 @@ -354,6 +356,7 @@ linters: - nestif - nlreturn - gci + - recvcheck disable-all: false presets: - bugs