f4976873e7
docs: improve comments for functions; enable godot ( #1382 )
2025-05-27 07:44:24 +02:00
92f28cb5e1
refactor: moves code related to AST from rule.utils into astutils package ( #1380 )
...
Modifications summary:
* Moves AST-related functions from rule/utils.go to astutils/ast_utils.go (+ modifies function calls)
* Renames some of these AST-related functions
* Avoids instantiating a printer config at each call to astutils.GoFmt
* Uses astutils.IsIdent and astutils.IsPkgDotName when possible
2025-05-26 13:18:38 +02:00
4bd6fbac97
fix: unconditional-recursion false positive when the function is called right after its declaration ( #1212 ) ( #1214 )
2025-01-29 17:24:22 +01:00
395f7902d3
refactor: replace failure Category raw string with constant ( #1196 )
...
* refactor: replace Category raw strings with constants
* Add type FailureCategory; add comments for constants
2025-01-18 12:16:19 +01:00
4b2c76e8b9
chore: cleanup code in rules ( #1197 )
2024-12-31 12:33:51 +01:00
4dd63ef035
chore: fix typo ( #1187 )
2024-12-12 08:38:46 +01:00
d181862481
docs: fix rule descriptions ( #1147 )
2024-12-01 16:44:41 +01:00
777abc9c35
refactor: avoid duplicated exitFunctions map ( #1145 )
2024-11-28 08:47:10 +01:00
be95bfa705
refactor: rename files to follow Go convention
2024-11-11 19:31:18 +01:00