mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
chore: disable require-error rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -185,3 +185,5 @@ linters-settings: # please keep this alphabetized
|
||||
- "all"
|
||||
testifylint:
|
||||
enable-all: true
|
||||
disable: # TODO: remove each disabled rule and fix it
|
||||
- require-error
|
||||
|
@@ -225,3 +225,5 @@ linters-settings: # please keep this alphabetized
|
||||
- "all"
|
||||
testifylint:
|
||||
enable-all: true
|
||||
disable: # TODO: remove each disabled rule and fix it
|
||||
- require-error
|
||||
|
@@ -210,8 +210,8 @@ linters-settings: # please keep this alphabetized
|
||||
{{- end}}
|
||||
testifylint:
|
||||
enable-all: true
|
||||
{{- if .Base}}
|
||||
disable: # TODO: remove each disabled rule and fix it
|
||||
{{- if .Base}}
|
||||
- compares
|
||||
- error-is-as
|
||||
- error-nil
|
||||
@@ -219,5 +219,5 @@ linters-settings: # please keep this alphabetized
|
||||
- float-compare
|
||||
- go-require
|
||||
- nil-compare
|
||||
- require-error
|
||||
{{- end}}
|
||||
- require-error
|
||||
|
Reference in New Issue
Block a user