Skip to main content

LintOptions

Struct LintOptions 

Source
pub struct LintOptions {
Show 20 fields pub skip_rules: Vec<String>, pub only_rules: Vec<String>, pub min_severity: Severity, pub check_dockerignore: bool, pub engine: ContainerEngine, pub severity_overrides: BTreeMap<String, Severity>, pub categories: Vec<String>, pub skip_categories: Vec<String>, pub inline_suppressions: bool, pub require_suppression_reason: bool, pub suppression_reason_pattern: Option<String>, pub require_suppression_expiration: bool, pub max_suppression_days: Option<u64>, pub report_unused_suppressions: bool, pub approved_registries: Option<Vec<String>>, pub approved_base_images: Option<Vec<String>>, pub required_labels: BTreeMap<String, String>, pub strict_labels: bool, pub shellcheck_mode: Mode, pub shellcheck_exclude: Vec<String>,
}

Fields§

§skip_rules: Vec<String>§only_rules: Vec<String>

When non-empty, only rules whose IDs appear in this list are run.

§min_severity: Severity§check_dockerignore: bool§engine: ContainerEngine§severity_overrides: BTreeMap<String, Severity>§categories: Vec<String>§skip_categories: Vec<String>§inline_suppressions: bool§require_suppression_reason: bool§suppression_reason_pattern: Option<String>§require_suppression_expiration: bool§max_suppression_days: Option<u64>§report_unused_suppressions: bool§approved_registries: Option<Vec<String>>§approved_base_images: Option<Vec<String>>§required_labels: BTreeMap<String, String>§strict_labels: bool§shellcheck_mode: Mode§shellcheck_exclude: Vec<String>

Trait Implementations§

Source§

impl Default for LintOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.