1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Oleksandr Redko
a5e5d78760 chore: enable a few revive rules (#1330) 2025-05-01 02:40:29 -07:00
chavacava
f0eea95daf struct-tag: change reported messages and refactor implementation (#1292) 2025-04-10 07:43:35 +02:00
chavacava
7f7f31aaaf feature: add support for properties tag in struct-tag rule (#1289) 2025-04-05 08:38:59 +02:00
Oleksandr Redko
43a44af30f refactor: apply suggestions from gopls modernize (#1282) 2025-03-28 09:32:30 +01:00
chavacava
9919e6bbe0 refactor: replace IsAtLeastGo1* functions by IsAtLeastGoVersion (#1274) 2025-03-16 18:18:05 +01:00
chavacava
88d5434cee feature: add support for TOML struct tags in struct-tag rule (#1255) 2025-03-03 13:19:40 +01:00
chavacava
3bbfedbf43 feature: add suport of validate struct tags in struct-tag rule (#1244) 2025-02-20 19:48:35 +01:00
chavacava
4f342352f0 feature: add suport of mapstructure struct tags in struct-tag rule (#1241) 2025-02-19 14:30:29 +01:00
chavacava
a4ee892836 feature: add support of datastore struct tags in struct-tag rume (#1240) 2025-02-18 13:09:31 +01:00
chavacava
3cf67c5783 feature: add support of URL struct tags in struct-tag rule (#1239) 2025-02-17 07:18:30 +01:00
chavacava
8ece20b078 feature: add support for omitzero in rule struct-tag (#1238) 2025-02-16 11:31:17 +01:00
ccoVeille
3d1115dacd refactor: rule configuration and error management (#1185)
* refactor: avoid running rule once configuration failed

* refactor: remove deep-exit in lint/linter.go
2024-12-13 21:38:46 +01:00
Oleksandr Redko
78e927d8c7 refactor: simplify by using switch instead of if (#1190) 2024-12-12 17:42:09 +01:00
Marcin Federowicz
9b15f3fcb6 refactor: replace panic with error in rules (#1126)
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
2024-12-11 19:35:58 +01:00
Oleksandr Redko
1425e2f44c refactor: simplify with strings.Prefix, strings.CutPrefix (#1137) 2024-11-19 15:43:04 +01:00
Oleksandr Redko
3378f7033b refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
Oleksandr Redko
be95bfa705 refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00