fix: enable empty and len rules from testifylint on pkg package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com> Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
@@ -237,12 +237,10 @@ linters-settings: # please keep this alphabetized
|
||||
disable: # TODO: remove each disabled rule and fix it
|
||||
- blank-import
|
||||
- compares
|
||||
- empty
|
||||
- error-is-as
|
||||
- error-nil
|
||||
- expected-actual
|
||||
- float-compare
|
||||
- go-require
|
||||
- len
|
||||
- nil-compare
|
||||
- require-error
|
||||
|
||||
@@ -213,13 +213,11 @@ linters-settings: # please keep this alphabetized
|
||||
disable: # TODO: remove each disabled rule and fix it
|
||||
- blank-import
|
||||
- compares
|
||||
- empty
|
||||
- error-is-as
|
||||
- error-nil
|
||||
- expected-actual
|
||||
- float-compare
|
||||
- go-require
|
||||
- len
|
||||
- nil-compare
|
||||
- require-error
|
||||
{{- end}}
|
||||
|
||||
Reference in New Issue
Block a user