@@ -35,6 +35,7 @@ linters:
35
35
- makezero # Finds slice declarations with non-zero initial length [fast: false, auto-fix: false]
36
36
- misspell # Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
37
37
- nakedret # Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]
38
+ - nilerr # Finds the code that returns nil even if it checks that the error is not nil. [fast: false, auto-fix: false]
38
39
- noctx # noctx finds sending http request without context.Context [fast: false, auto-fix: false]
39
40
- nolintlint # Reports ill-formed or insufficient nolint directives [fast: true, auto-fix: false]
40
41
- nosprintfhostport # Checks for misuse of Sprintf to construct a host with port in a URL. [fast: true, auto-fix: false]
@@ -80,7 +81,6 @@ linters:
80
81
- maintidx # maintidx measures the maintainability index of each function. [fast: true, auto-fix: false]
81
82
- maligned # [deprecated]: Tool to detect Go structs that would take less memory if their fields were sorted [fast: false, auto-fix: false]
82
83
- nestif # Reports deeply nested if statements [fast: true, auto-fix: false]
83
- - nilerr # Finds the code that returns nil even if it checks that the error is not nil. [fast: false, auto-fix: false]
84
84
- nilnil # Checks that there is no simultaneous return of `nil` error and an invalid value. [fast: false, auto-fix: false]
85
85
- nlreturn # nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
86
86
- nonamedreturns # Reports all named returns [fast: true, auto-fix: false]
0 commit comments