You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - varnamelen # [great idea, but too many false positives] checks that the length of a variable's name matches its scope
114
111
# - nlreturn # checks for a new line before return and branch statements to increase code clarity
115
112
116
113
## disabled
117
114
# - lll # reports long lines
118
-
# - exhaustruct # [highly recommend to enable] checks if all structure fields are initialized
119
-
#- depguard # [replaced by gomodguard] checks if package imports are in a list of acceptable packages
120
-
#- dupword # [useless without config] checks for duplicate words in the source code
121
-
#- errchkjson # [don't see profit + I'm against of omitting errors like in the first example https://github.com/breml/errchkjson] checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted
122
-
#- forcetypeassert # [replaced by errcheck] finds forced type assertions
115
+
# - exhaustruct # checks if all structure fields are initialized
123
116
#- goerr113 # [too strict] checks the errors handling expressions
124
-
#- gofmt # [replaced by goimports] checks whether code was gofmt-ed
125
-
#- gofumpt # [replaced by goimports, gofumports is not available yet] checks whether code was gofumpt-ed
126
117
#- gosmopolitan # reports certain i18n/l10n anti-patterns in your Go codebase
127
118
#- grouper # analyzes expression groups
128
119
#- importas # enforces consistent import aliases
129
120
#- maintidx # measures the maintainability index of each function
130
-
#- wsl # [too strict and mostly code is not more readable] whitespace linter forces you to use empty lines
131
121
#- tagliatelle # checks the struct tags
132
122
#- contextcheck # Check whether the function uses a non-inherited context.
0 commit comments