mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-20 08:25:11 +00:00
fix: clean up testifylint configuration in golangci-lint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -185,5 +185,3 @@ 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
|
|
||||||
|
|||||||
@@ -239,11 +239,6 @@ linters-settings: # please keep this alphabetized
|
|||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
disable: # TODO: remove each disabled rule and fix it
|
disable: # TODO: remove each disabled rule and fix it
|
||||||
- compares
|
|
||||||
- error-is-as
|
|
||||||
- error-nil
|
|
||||||
- expected-actual
|
|
||||||
- float-compare
|
- float-compare
|
||||||
- go-require
|
- go-require
|
||||||
- nil-compare
|
|
||||||
- require-error
|
- require-error
|
||||||
|
|||||||
@@ -210,14 +210,11 @@ linters-settings: # please keep this alphabetized
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
|
{{- if not .Hints }}
|
||||||
disable: # TODO: remove each disabled rule and fix it
|
disable: # TODO: remove each disabled rule and fix it
|
||||||
{{- if .Base}}
|
{{- if .Base }}
|
||||||
- compares
|
|
||||||
- error-is-as
|
|
||||||
- error-nil
|
|
||||||
- expected-actual
|
|
||||||
- float-compare
|
- float-compare
|
||||||
- go-require
|
- go-require
|
||||||
- nil-compare
|
{{- end}}
|
||||||
{{- end}}
|
|
||||||
- require-error
|
- require-error
|
||||||
|
{{- end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user