Documentation ¶
Overview ¶
Package lint provides the core functionality of easyp lint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidRule = errors.New("invalid rule")
)
Functions ¶
func CheckIsIgnored ¶ added in v0.6.0
CheckIsIgnored check if passed ruleName has to be ignored due to ignore command in comments
func SetAllowCommentIgnores ¶ added in v0.6.0
func SetAllowCommentIgnores(val bool)
Types ¶
type ImportPath ¶ added in v0.4.0
type ImportPath string
ImportPath type alias for path import in proto file
func ConvertImportPath ¶ added in v0.4.0
func ConvertImportPath(source string) ImportPath
type Lint ¶
type Lint struct {
// contains filtered or unexported fields
}
Lint is the core functionality of easyp lint.
type OpenImportFileError ¶ added in v0.6.0
type OpenImportFileError struct {
FileName string
}
func (*OpenImportFileError) Error ¶ added in v0.6.0
func (e *OpenImportFileError) Error() string
Click to show internal directories.
Click to hide internal directories.