mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 22:33:34 +00:00
chore: disable require-error rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
25aa9cd074
commit
64e9fd50ed
@ -185,3 +185,5 @@ linters-settings: # please keep this alphabetized
|
|||||||
- "all"
|
- "all"
|
||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
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"
|
- "all"
|
||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
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}}
|
{{- end}}
|
||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
{{- if .Base}}
|
|
||||||
disable: # TODO: remove each disabled rule and fix it
|
disable: # TODO: remove each disabled rule and fix it
|
||||||
|
{{- if .Base}}
|
||||||
- compares
|
- compares
|
||||||
- error-is-as
|
- error-is-as
|
||||||
- error-nil
|
- error-nil
|
||||||
@ -219,5 +219,5 @@ linters-settings: # please keep this alphabetized
|
|||||||
- float-compare
|
- float-compare
|
||||||
- go-require
|
- go-require
|
||||||
- nil-compare
|
- nil-compare
|
||||||
- require-error
|
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
- require-error
|
||||||
|
Loading…
Reference in New Issue
Block a user