Skip to main content

load

Function load 

Source
pub fn load(cwd: &Path, cli_overrides: &RawOverrides) -> ToolConfig
Expand description

Builds a ToolConfig by merging, lowest to highest precedence: ToolConfig::default(), then <cwd>/.jss-lint.toml, then cli_overrides. Mirrors config.py::load, including the unrecognised-TOML-keys warning (printed only when the final merged config is verbose, matching Python’s post-merge check).