File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed
Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This page describes checks supported by [go-critic](https://github.com/go-critic
66
77## Checkers
88
9- Total number of checks is 107 :rocket :
9+ Total number of checks is 106 :rocket :
1010
1111* :heavy_check_mark : checker is enabled by default.
1212* :white_check_mark : checker is disabled by default.
@@ -52,7 +52,6 @@ They also detect code that may be correct, but looks suspicious.
5252| :white_check_mark : [ regexpPattern] ( #regexppattern ) | Detects suspicious regexp patterns|
5353| :white_check_mark : [ returnAfterHttpError] ( #returnafterhttperror ) | Detects suspicious http.Error call without following return|
5454| :white_check_mark : [ sloppyReassign] ( #sloppyreassign ) | Detects suspicious/confusing re-assignments|
55- | :white_check_mark : [ sloppyTestFuncName] ( #sloppytestfuncname ) | Detects unsupported test and benchmark funcs|
5655| :heavy_check_mark : [ sloppyTypeAssert] ( #sloppytypeassert ) | Detects redundant type assertions|
5756| :white_check_mark : [ sortSlice] ( #sortslice ) | Detects suspicious sort.Slice calls|
5857| :white_check_mark : [ sprintfQuotedString] ( #sprintfquotedstring ) | Detects "%s" formatting directives that can be replaced with %q|
@@ -2153,29 +2152,6 @@ if err := f(); err != nil { return err }
21532152```
21542153
21552154
2156- ## sloppyTestFuncName
2157-
2158- [
2159- ** diagnostic**
2160- ** experimental** ]
2161-
2162- Detects unsupported test and benchmark funcs.
2163-
2164-
2165-
2166-
2167-
2168- ** Before:**
2169- ``` go
2170- func TessstUnit (t *testing .T )
2171- ```
2172-
2173- **After:**
2174- ```go
2175- func TestUnit(t *testing.T)
2176- ```
2177-
2178-
21792155## sloppyTypeAssert
21802156
21812157[
You can’t perform that action at this time.
0 commit comments