Skip to main content

Crate oparlint_linting

Crate oparlint_linting 

Source
Expand description

A crate definining linting infrastructure for oparlint. Does not contain the lints themselves, but rather the types and traits required to execute the lints that are defined elsewhere.

Structs§

LintingError
An error indicating that a linting run yielded findings that count as error.

Enums§

Severity
The severity of a lint failure.

Traits§

Lint
A trait defined on any datatype that describes and performs a lint.
LintSuite
A trait to be implemented on collections of lints, named a lint suite.
Linter
A trait to be implemented by linters which run the checks and record their results.

Type Aliases§

LintingResult
The result of a linting run.