[pre-commit] parallel = true skip = ["merge", "rebase"] [pre-commit.commands.format-just] glob = ["justfile", "*.just", ".justfile"] run = 'for f in {staged_files}; do just --justfile "$f" --fmt; done' stage_fixed = true [pre-commit.commands.format-mise] glob = [".mise.toml", ".mise/config.toml", ".mise/conf.d/*.toml"] run = "mise fmt" stage_fixed = true [pre-commit.commands.format-json] glob = ["*.json", "*.json5", "*.jsonc"] run = "oxfmt {staged_files}" stage_fixed = true [pre-commit.commands.format-markdown] glob = ["*.md", "*.markdown", "*.mdx"] run = "oxfmt {staged_files}" stage_fixed = true [pre-commit.commands.format-yaml] glob = ["*.yaml", "*.yml"] run = "oxfmt {staged_files}" stage_fixed = true [pre-commit.commands.mise-lock] glob = [".mise.toml", ".mise/config.toml", ".mise/conf.d/*.toml"] run = "mise lock && git add .mise/mise.lock" [pre-commit.commands.zizmor] glob = [".github/workflows/*.yaml", ".github/actions/**/action.yaml"] run = "zizmor --offline {staged_files}"