chavacava
cf4901574e
refactor: replaces calls to astutils.PickNodes with calls to astutils.SeekNode when possible ( #1482 )
2025-08-23 17:41:10 +02:00
chavacava
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
chavacava
8c5d8fc90a
fix: flag-parameter rule wrongly detects var definition and points to the function signature ( #1213 )
2025-01-28 14:53:32 +01:00
Oleksandr Redko
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
chavacava
fcfd6ad5f1
refactor (rule/flag-param): replace AST walker by iteration over declarations ( #1164 )
2024-12-04 20:55:01 +01:00
Oleksandr Redko
d181862481
docs: fix rule descriptions ( #1147 )
2024-12-01 16:44:41 +01:00
Oleksandr Redko
be95bfa705
refactor: rename files to follow Go convention
2024-11-11 19:31:18 +01:00