@@ -67,6 +67,7 @@ linters:
67
67
- tparallel # tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: false, auto-fix: false]
68
68
- typecheck # Like the front-end of a Go compiler, parses and type-checks Go code [fast: false, auto-fix: false]
69
69
- unconvert # Remove unnecessary type conversions [fast: false, auto-fix: false]
70
+ - unused # (megacheck): Checks Go code for unused constants, variables, functions and types [fast: false, auto-fix: false]
70
71
- usestdlibvars # A linter that detect the possibility to use variables/constants from the Go standard library. [fast: true, auto-fix: false]
71
72
- wastedassign # wastedassign finds wasted assignment statements. [fast: false, auto-fix: false]
72
73
- whitespace # Tool for detection of leading and trailing whitespace [fast: true, auto-fix: true]
@@ -94,7 +95,6 @@ linters:
94
95
- nilnil # Checks that there is no simultaneous return of `nil` error and an invalid value. [fast: false, auto-fix: false]
95
96
- nlreturn # nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
96
97
- staticcheck # (megacheck): Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false, auto-fix: false]
97
- - unused # (megacheck): Checks Go code for unused constants, variables, functions and types [fast: false, auto-fix: false]
98
98
- varnamelen # checks that the length of a variable's name matches its scope [fast: false, auto-fix: false]
99
99
- wsl # Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
100
100
0 commit comments