Name return name of the rule
()
| 16 | |
| 17 | // Name return name of the rule |
| 18 | func (r *TypeEnumRule) Name() string { return "type-enum" } |
| 19 | |
| 20 | // Apply sets the needed argument for the rule |
| 21 | func (r *TypeEnumRule) Apply(setting lint.RuleSetting) error { |