1
0
mirror of https://github.com/mgechev/revive.git synced 2025-06-14 23:45:11 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
4b2c76e8b9 chore: cleanup code in rules (#1197) 2024-12-31 12:33:51 +01:00
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
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
d181862481 docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
bb9e681da6 cognitive-complexity: handle direct recursion (#1149) 2024-12-01 12:16:06 +01:00
3378f7033b refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
be95bfa705 refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00