package
1.3.2-comdiv-1
Repository: https://github.com/comdiv/revive.git
Documentation: pkg.go.dev

# Functions

Name returns a different name if it should be different.
New creates a new Linter.
NewFile creates a new file.
ToFailurePosition returns the failure position.

# Constants

SeverityError declares failures of type error.
SeverityWarning declares failures of type warning.

# Structs

AbstractRule defines an abstract rule.
Config defines the config of the linter.
DirectiveConfig is type used for the linter directive configuration.
DisabledInterval contains a single disabled interval and the associated rule name.
Failure defines a struct for a linting failure.
FailurePosition returns the failure position.
File abstraction used for representing files.
FormatterMetadata configuration of a formatter.
Linter is used for linting set of files.
Package represents a package in the project.
RuleConfig is type used for the rule configuration.

# Interfaces

Formatter defines an interface for failure formatters.
Rule defines an abstract rule interface.

# Type aliases

Arguments is type used for the arguments of a rule.
DirectivesConfig defines the config for all directives.
ReadFile defines an abstraction for reading files.
RulesConfig defines the config for all rules.
Severity is the type for the failure types.