Skip to content

Commit 2b134eb

Browse files
jdxclaude
andcommitted
chore: use **/* globs in hk.pkl for subdirectory coverage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ce400d7 commit 2b134eb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

hk.pkl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local linters = new Mapping<String, Step> {
1414
// fix = "cargo clippy --manifest-path {{workspace_indicator}} --all-features --fix --allow-dirty --allow-staged -- -Dwarnings"
1515
//}
1616
["cargo-fmt"] {
17-
glob = List("*.rs")
17+
glob = List("**/*.rs")
1818
check = "cargo fmt --all -- --check"
1919
fix = "cargo fmt --all"
2020
}
@@ -42,13 +42,13 @@ fi
4242

4343
// uses custom pkl linter config
4444
["pkl"] {
45-
glob = "*.pkl"
45+
glob = "**/*.pkl"
4646
check = "pkl eval {{files}} >/dev/null"
4747
}
4848

4949
// uses taplo for TOML formatting and validation
5050
["taplo"] {
51-
glob = List("*.toml")
51+
glob = List("**/*.toml")
5252
exclude = List("docs/registry/") // exclude docs/registry/ symlink
5353
check = "taplo fmt --check {{files}} && taplo check {{files}}"
5454
fix = "taplo fmt {{files}} && taplo check {{files}}"
@@ -75,7 +75,7 @@ fi
7575
fix = "markdownlint --fix {{ files }}"
7676
}
7777
["schema"] {
78-
glob = List("schema/*.json")
78+
glob = List("schema/**/*.json")
7979
check = "ajv compile -s schema/mise.json --spec=draft2019 --strict-schema=true && ajv compile -s schema/mise-task.json --spec=draft2019 --strict-schema=true && ajv compile -s schema/mise.plugin.json --spec=draft2020 --strict-schema=true"
8080
}
8181
}

0 commit comments

Comments
 (0)