Skip to content

Commit c37a16a

Browse files
committed
Needn't use string matching to disable
1 parent b707b13 commit c37a16a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.golangci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ linters-settings:
6060
min-complexity: 20
6161
exhaustive:
6262
default-signifies-exhaustive: true
63+
testifylint:
64+
enable-all: true
65+
disable:
66+
- suite-thelper # this is disabled by default
67+
- float-compare
68+
- require-error
6369

6470
issues:
6571
max-per-linter: 0
@@ -74,5 +80,3 @@ issues:
7480
- 'bad syntax for struct tag key'
7581
- 'bad syntax for struct tag pair'
7682
- 'result .* \(error\) is always nil'
77-
- 'require-error: for error assertions use require'
78-
- 'float-compare'

0 commit comments

Comments
 (0)