ScopeMaxLenRule to validate max length of scope
| 172 | |
| 173 | // ScopeMaxLenRule to validate max length of scope |
| 174 | type ScopeMaxLenRule struct{ CheckLen int } |
| 175 | |
| 176 | func (r *ScopeMaxLenRule) Name() string { return "scope-max-length" } |
| 177 | func (r *ScopeMaxLenRule) Apply(s lint.RuleSetting) error { |
nothing calls this directly
no outgoing calls
no test coverage detected