fallow-core 2.48.4

Analysis orchestration for fallow codebase intelligence (dead code, duplication, plugins, cross-reference)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! simple-git-hooks plugin.
//!
//! Detects simple-git-hooks projects and marks config files as always used.

use super::Plugin;

const ENABLERS: &[&str] = &["simple-git-hooks"];

const ALWAYS_USED: &[&str] = &["simple-git-hooks.{js,cjs}"];

const TOOLING_DEPENDENCIES: &[&str] = &["simple-git-hooks"];

define_plugin! {
    struct SimpleGitHooksPlugin => "simple-git-hooks",
    enablers: ENABLERS,
    always_used: ALWAYS_USED,
    tooling_dependencies: TOOLING_DEPENDENCIES,
}