Releases
v1.6.0
Changelog
275b018 refactor (rule/error-return): replace AST walker by iteration over declarations (#1163 )
fcfd6ad refactor (rule/flag-param): replace AST walker by iteration over declarations (#1164 )
a31d5af refactor (rule/modifies-value-receiver): replace AST walker by iteration over declarations (#1165 )
dff4dc9 Filename-format rule: fix filename extension regex: ".go" to "\.go". (#1132 )
655e606 Update RULES_DESCRIPTIONS.md (#1134 )
7d97f54 [chore] clean up go.sum (#1201 )
d2778f3 adds rule use-errors-new (#1142 )
cb74ccb chore: Improve sortables detection (#1151 )
72b91f0 chore: Update go.sum (#1153 )
dde8344 chore: add missing tests for var-declarations, fix any/interface{} type issue (#1154 )
4b2c76e chore: cleanup code in rules (#1197 )
4dd63ef chore: fix typo (#1187 )
45731a3 chore: migrate goreleaser config to v2 (#1105 )
10d9697 chore: remove unused #region comments (#1181 )
d64bddc chore: use US English instead of UK English (#1186 )
bb9e681 cognitive-complexity: handle direct recursion (#1149 )
3bc2404 deep-exit: fix mixed receiver type (lintDeepExit) (#1150 )
a48710b deep-exit: ignore testable examples (#1155 )
7f769f8 feat: add redundant-build-tag
rule (#1135 )
7e1d35d feat: optional extension to early-return rule (#1133 ) (#1138 )
57fe5b6 fix(deps): update module github.com/spf13/afero to v1.12.0 (#1200 )
47dc923 fix(deps): update module golang.org/x/tools to v0.28.0 (#1172 )
4ba2c56 fix(deps): update module golang.org/x/tools to v0.29.0 (#1198 )
a106e63 fix(rule/modifies-value-receiver): miss modification by ++/-- (#1175 )
24a9325 fix: ast_utils.FuncSignatureIs panics with types names other than ast.Ident (#1174 )
772285d fix: change URL to the page with rules descriptions (#1129 )
98a6c97 fix: confusing-results doesn't work with pointer types (#1158 )
7998011 fix: return configure rule error (#1193 )
d9c61c1 fix: running revive in CI (#1205 )
c3b541f refactor (rule/arguments-limits): replace AST walker by iteration over declarations (#1159 )
4b13782 refactor (rule/cyclomatic): replace AST walker by iteration over declarations (#1161 )
cb89a4c refactor (rule/datarace): replace AST walker by iteration over declarations (#1162 )
361c744 refactor (rule/function-length): replace AST walker by iteration over declarations (#1166 )
a31d590 refactor (rule/function-result-limit): replace AST walker by iteration over declarations (#1167 )
3e1dbc0 refactor (rule/get-return): replace AST walker by iteration over declarations (#1168 )
5c2aadf refactor (rule/receiver-naming): replace AST walker by iteration over declarations (#1169 )
278246d refactor (rule/unexported-return): replace AST walker by iteration over declarations (#1170 )
8f54012 refactor (rule/unused-receiver): replace AST walker by iteration over declarations (#1171 )
9a5c95f refactor(rule/context-as-argument): replace AST walker by iteration over declarations (#1160 )
f94c9d7 refactor: add all wait group delta at once when possible (#1179 )
777abc9 refactor: avoid duplicated exitFunctions map (#1145 )
f6a3820 refactor: code cleanup (#1177 )
0afba4f refactor: enforce map and slice style (#1131 )
93c6bc8 refactor: extract getVersion function (#1127 )
77616f0 refactor: fix 'use-any' revive issues (#1204 )
3421eae refactor: fix linting issues (#1188 )
4ca2c11 refactor: get rid of mitchellh/go-homedir package (#1195 )
e23fcdb refactor: modifies linting machinery to use Failure as a mean to signal erros in rules application (#1178 )
0e8acea refactor: move functions out from utils.go (#1139 )
d81fc8f refactor: reduce control nesting in AddConstantRule.configure (#1128 )
06192a5 refactor: remove lint issues (#1176 )
660968f refactor: remove redundant fmt.Fprintln calls (#1130 )
303ae4a refactor: remove useless failure slice declaration (#1141 )
395f790 refactor: replace failure Category raw string with constant (#1196 )
9b15f3f refactor: replace panic with error in rules (#1126 )
3d1115d refactor: rule configuration and error management (#1185 )
78e927d refactor: simplify by using switch
instead of if
(#1190 )
cadb2dd refactor: simplify config.GetFormatter; add tests (#1184 )
1425e2f refactor: simplify with strings.Prefix, strings.CutPrefix (#1137 )
7cbd3d1 refactor: use slices.SortFunc instead of sort.Slice (#1191 )
1b4440c refactor: use toml.Unmarshal instead of toml.Decode (#1122 )
213d960 rename unused parameter (#1143 )
7f7d024 unused-param,unused-receiver: fix panic message (#1156 )
09fb350 unused-param,unused-receiver: refactor configure func (#1157 )
1117372 update doc (#1203 )
You can’t perform that action at this time.