Oleksandr Redko
10e861964e
refactor: fix gosec lint issues ( #1586 )
2025-11-22 04:11:52 -08:00
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
68ac5514f5
feature: detect identical-branches in switch statements ( #1448 )
2025-07-30 15:55:03 +02:00
Oleksandr Redko
f4976873e7
docs: improve comments for functions; enable godot ( #1382 )
2025-05-27 07:44:24 +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
51ac5c2524
feature: new rule unnecessary-format to spot unnecessary use of formatting functions ( #1372 )
2025-05-26 11:07:42 +02:00
chavacava
dbcfd66945
fix(1323): false positive in get-return rule for HTTP Get handlers ( #1325 )
2025-04-27 13:06:29 +02:00
Ludovic Fernandez
9a54195228
fix: panic with getFieldTypeName ( #1229 )
...
* fix: panic with interface type and array
* replaces panic with a return of a default string
* review
---------
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com >
2025-02-12 14:10:48 +01:00
chavacava
fd8d99d716
fix (1217): getting parameter type names panics in presence of generic types ( #1218 )
2025-02-04 12:26:17 +01:00
chavacava
24a9325b5a
fix: ast_utils.FuncSignatureIs panics with types names other than ast.Ident ( #1174 )
2024-12-07 15:40:39 +01:00
chavacava
06192a5599
refactor: remove lint issues ( #1176 )
2024-12-07 14:43:25 +01:00
Denis Voytyuk
cb74ccbf44
chore: Improve sortables detection ( #1151 )
...
Co-authored-by: chavacava <salvador.cavadini@gmail.com >
2024-12-02 13:02:39 +01:00