refactor(config): update glob pattern to use exclude syntax

This commit is contained in:
2026-02-18 00:36:08 -08:00
parent cd74b501db
commit 8b17049620

4
hk.pkl
View File

@@ -1,8 +1,8 @@
amends "package://github.com/jdx/hk/releases/download/v1.36.0/hk@1.36.0#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.36.0/hk@1.36.0#/Builtins.pkl"
// Only process files in sketches/ directory (excluding vendor/)
glob = List("sketches/**", "!sketches/**/vendor/**")
// Only process files in sketches/ (excluding vendor/)
exclude = List("**", "!sketches/**", "sketches/**/vendor/**")
local linters = new Mapping<String, Step> {
["format"] = Builtins.clang_format