Skip to main content

load_lint_config

Function load_lint_config 

Source
pub fn load_lint_config(file_path: &Path) -> LintConfig
Expand description

Load the lint configuration from the nearest foundry.toml relative to file_path. Returns LintConfig::default() when no config is found or the relevant sections are absent.