pub struct LintConfig<'a> {Show 13 fields
pub contract_dir: &'a Path,
pub binding_path: Option<&'a Path>,
pub min_score: f64,
pub severity_filter: Option<RuleSeverity>,
pub severity_overrides: HashMap<String, RuleSeverity>,
pub suppressed_findings: Vec<String>,
pub suppressed_rules: Vec<String>,
pub suppressed_files: Vec<String>,
pub strict: bool,
pub no_cache: bool,
pub cache_stats: bool,
pub crate_dir: Option<&'a Path>,
pub min_level: Option<EnforcementLevel>,
}Expand description
Configuration for pv lint.
Fields§
§contract_dir: &'a Path§binding_path: Option<&'a Path>§min_score: f64§severity_filter: Option<RuleSeverity>§severity_overrides: HashMap<String, RuleSeverity>§suppressed_findings: Vec<String>§suppressed_rules: Vec<String>§suppressed_files: Vec<String>§strict: bool§no_cache: bool§cache_stats: bool§crate_dir: Option<&'a Path>Optional crate directory for reverse coverage gate (Gate 7).
min_level: Option<EnforcementLevel>Minimum enforcement level for Gate 6 (from --min-level).
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LintConfig<'a>
impl<'a> RefUnwindSafe for LintConfig<'a>
impl<'a> Send for LintConfig<'a>
impl<'a> Sync for LintConfig<'a>
impl<'a> Unpin for LintConfig<'a>
impl<'a> UnsafeUnpin for LintConfig<'a>
impl<'a> UnwindSafe for LintConfig<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more