mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +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:
commit
8ccc878de0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user