(conf *lint.Config)
| 29 | } |
| 30 | |
| 31 | func initLinterRules(conf *lint.Config) ([]lint.Rule, error) { |
| 32 | if err := checkIfMinVersion(conf.MinVersion); err != nil { |
| 33 | return nil, err |
| 34 | } |
| 35 | |
| 36 | return GetEnabledRules(conf) |
| 37 | } |
| 38 | |
| 39 | // GetFormatter returns the formatter as defined in conf |
| 40 | func GetFormatter(conf *lint.Config) (lint.Formatter, error) { |
no test coverage detected