mirror of
https://github.com/securego/gosec.git
synced 2025-12-01 22:41:54 +02:00
Fix typos in comments and rulelist (#256)
This commit is contained in:
committed by
Cosmin Cojocar
parent
e0a150bfa3
commit
3116b07de4
2
rule.go
2
rule.go
@@ -27,7 +27,7 @@ type Rule interface {
|
||||
type RuleBuilder func(id string, c Config) (Rule, []ast.Node)
|
||||
|
||||
// A RuleSet maps lists of rules to the type of AST node they should be run on.
|
||||
// The anaylzer will only invoke rules contained in the list associated with the
|
||||
// The analyzer will only invoke rules contained in the list associated with the
|
||||
// type of AST node it is currently visiting.
|
||||
type RuleSet map[reflect.Type][]Rule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user