Skip to content

Commit 64e9fd5

Browse files
committed
chore: disable require-error rule from testifylint
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 25aa9cd commit 64e9fd5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

hack/golangci-hints.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,5 @@ linters-settings: # please keep this alphabetized
185185
- "all"
186186
testifylint:
187187
enable-all: true
188+
disable: # TODO: remove each disabled rule and fix it
189+
- require-error

hack/golangci-strict.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,5 @@ linters-settings: # please keep this alphabetized
225225
- "all"
226226
testifylint:
227227
enable-all: true
228+
disable: # TODO: remove each disabled rule and fix it
229+
- require-error

hack/golangci.yaml.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ linters-settings: # please keep this alphabetized
210210
{{- end}}
211211
testifylint:
212212
enable-all: true
213-
{{- if .Base}}
214213
disable: # TODO: remove each disabled rule and fix it
214+
{{- if .Base}}
215215
- compares
216216
- error-is-as
217217
- error-nil
218218
- expected-actual
219219
- float-compare
220220
- go-require
221221
- nil-compare
222-
- require-error
223222
{{- end}}
223+
- require-error

0 commit comments

Comments
 (0)