Skip to main content

load_hooks_config

Function load_hooks_config 

Source
pub fn load_hooks_config(project_dir: &Path) -> Vec<HookConfig>
Expand description

Load and merge hooks from global ($ATOMCODE_HOME/hooks.json) and project (.hooks.json) config files.

Project hooks override global hooks with the same name. Disabled hooks are filtered out.