@@ -11,6 +11,7 @@ linters:
1111 - asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers [fast: true, auto-fix: false]
1212 - bidichk # Checks for dangerous unicode character sequences [fast: true, auto-fix: false]
1313 - bodyclose # checks whether HTTP response body is closed successfully [fast: false, auto-fix: false]
14+ - canonicalheader # canonicalheader checks whether net/http.Header uses canonical header [fast: false, auto-fix: false]
1415 - copyloopvar # copyloopvar is a linter detects places where loop variables are copied [fast: true, auto-fix: false]
1516 - decorder # check declaration order and count of types, constants, variables and functions [fast: true, auto-fix: false]
1617 - dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) [fast: true, auto-fix: false]
@@ -50,6 +51,7 @@ linters:
5051 - predeclared # find code that shadows one of Go's predeclared identifiers [fast: true, auto-fix: false]
5152 - promlinter # Check Prometheus metrics naming via promlint [fast: true, auto-fix: false]
5253 - protogetter # Reports direct reads from proto message fields when getters should be used [fast: false, auto-fix: true]
54+ - reassign # Checks that package variables are not reassigned [fast: false, auto-fix: false]
5355 - revive # Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
5456 - rowserrcheck # checks whether Err of rows is checked successfully [fast: false, auto-fix: false]
5557 - sloglint # ensure consistent code style when using log/slog [fast: false, auto-fix: false]
@@ -58,6 +60,7 @@ linters:
5860 - tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
5961 - testifylint # Checks usage of github.com/stretchr/testify. [fast: false, auto-fix: false]
6062 - testpackage # linter that makes you use a separate _test package [fast: true, auto-fix: false]
63+ - thelper # thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: false, auto-fix: false]
6164 - tparallel # tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: false, auto-fix: false]
6265 - typecheck # Like the front-end of a Go compiler, parses and type-checks Go code [fast: false, auto-fix: false]
6366 - unconvert # Remove unnecessary type conversions [fast: false, auto-fix: false]
0 commit comments