@@ -11,6 +11,8 @@ It's [02-basic](../02-basic) plus :
1111- [ misspell] ( #misspell )
1212- [ fatcontext] ( #fatcontext )
1313- [ loggercheck] ( #loggercheck )
14+ - [ exptostd] ( #exptostd )
15+ - [ usetesting] ( #usetesting )
1416
1517## License
1618
@@ -30,9 +32,6 @@ Source: [@ccoVeille](https://github.com/ccoVeille/golangci-lint-config-examples)
3032### errcheck
3133 Errcheck is a program for checking for unchecked errors in Go code.
3234
33- ### gosimple
34- Linter for Go source code that specializes in simplifying code.
35-
3635### govet
3736 Vet examines Go source code and reports suspicious constructs.
3837
@@ -42,6 +41,9 @@ Source: [@ccoVeille](https://github.com/ccoVeille/golangci-lint-config-examples)
4241### staticcheck
4342 It's a set of rules from staticcheck. See https://staticcheck.io/
4443
44+ ### unused
45+ Checks Go code for unused constants, variables, functions, and types.
46+
4547### thelper
4648 make sure to use ` t.Helper() ` when needed
4749
@@ -63,6 +65,12 @@ Detects errors invalid key values count
6365### fatcontext
6466Detects nested contexts in loops or function literals
6567
68+ ### exptostd
69+ detect when a package or method could be replaced by one from the standard library
70+
71+ ### usetesting
72+ Reports uses of functions with replacement inside the testing package.
73+
6674### revive
6775 Fast, configurable, extensible, flexible, and beautiful linter for Go.
6876 Drop-in replacement of golint.
@@ -94,6 +102,9 @@ for better readability, error messages should not be capitalized or end with pun
94102#### errorf
95103report when replacing ` errors.New(fmt.Sprintf()) ` with ` fmt.Errorf() ` is possible
96104
105+ #### exported
106+ check naming and commenting conventions on exported symbols.
107+
97108#### increment-decrement
98109incrementing an integer variable by 1 is recommended to be done using the ` ++ ` operator
99110
0 commit comments