mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-27 02:16:27 +00:00
Merge pull request #127583 from mmorel-35/testifylint/disable/require-error
chore: disable require-error rule from testifylint
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user