output:
- meta
- skips
- summary
pre-commit:
parallel: true
commands:
markdownlint:
glob: "**/*.md"
run: markdownlint {staged_files}
priority: 2
yamllint:
glob: "**/*.{yml,yaml}"
run: yamllint {staged_files}
priority: 2
shellcheck:
glob:
- "**/*.{sh,bash}"
- "scripts/**"
- "bin/**"
exclude:
- "**/*.{md,json,yaml,yml,toml,py,rb,rs,js,ts,mjs,cjs,html,css,txt,lock}"
run: shellcheck {staged_files}
priority: 2
cargo-fmt:
glob:
- "**/*.rs"
- "**/rustfmt.toml"
run: cargo fmt --all -- --check
priority: 2
cargo-clippy:
glob:
- "**/*.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
priority: 2