Module internal_prelude

Module internal_prelude 

Source
Expand description

Common imports that’re required for most linting rule implementations.

This is a convenience prelude module as pretty much all of these imports are used in every single lint rule.

Re-exports§

pub use crate::Error;
pub use crate::issue::LintIssue;
pub use crate::level::Level;
pub use crate::resources::Resources;
pub use crate::rule::LintRule;
pub use crate::scope::LintScope;

Structs§

LintRuleConfiguration
Configuration struct that contains all options to adjust ALPM-related linting rules.

Enums§

LintGroup
A group lints can belong to.