Krikri::Lint::LintConfig
.ansible-lint config file plus its CLI flag overrides.
Constants
DEFAULT_WARN_LIST = ["experimental", "jinja[spacing]", "fqcn[deep]"]
Upstream's DEFAULT_WARN_LIST (ansiblelint/config.py): rules in here render as warnings and count under warnings in the summary instead of as failures, unless a config file provides its own warn_list (which replaces the defaults wholesale; upstream's merge_config extends only a CLI-provided list onto the file's).
Constructors
new(skip_list : Array(String) = [] of String, warn_list : Array(String) = DEFAULT_WARN_LIST.dup, enable_list : Array(String) = [] of String, tags : Array(String) = [] of String, exclude_paths : Array(String) = [] of String, profile : String = "production", config_dir : String = ".", file_warn_list : Array(String) | Nil = nil)
SourceInstance methods
config_dir
Sourceenable_list
Sourceexclude_paths
SourceExcluded paths are dropped before linting, so they are neither reported nor counted in the summary's file total.
file_warn_list
The warn_list a config file defined, nil when it had none (and the defaults stand); lets the CLI merge reproduce upstream's "CLI list, extended with the file's" behavior exactly.
profile
Sourceskip_list
Sourcetags
Sourcewarn_list
Source