File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,20 @@ $ testifylint ./...
46
46
## Configuring
47
47
48
48
### CLI
49
- ```
49
+ ``` bash
50
+ # Enable all checkers.
50
51
$ testifylint --enable-all ./...
51
- $ testifylint --enable=empty,error-is-as ./...
52
- $ testifylint --enable=expected-actual --expected-actual.pattern=^wanted$ ./...
53
- $ testifylint --enable=require-error --require-error.fn-pattern="^(Errorf?|NoErrorf?)$" ./...
54
- $ testifylint --enable=suite-extra-assert-call --suite-extra-assert-call.mode=require ./...
52
+
53
+ # Enable specific checkers only.
54
+ $ testifylint --disable-all --enable=empty,error-is-as ./...
55
+
56
+ # Disable specific checkers only.
57
+ $ testifylint --enable-all --disable=empty,error-is-as ./...
58
+
59
+ # Checkers configuration.
60
+ $ testifylint --expected-actual.pattern=^wanted$ ./...
61
+ $ testifylint --require-error.fn-pattern=" ^(Errorf?|NoErrorf?)$" ./...
62
+ $ testifylint --suite-extra-assert-call.mode=require ./...
55
63
```
56
64
57
65
### golangci-lint
You can’t perform that action at this time.
0 commit comments