Skip to content

Commit 31f00b8

Browse files
committed
🔧 chore(prek): adopt spore-pre-commit formatter
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2adf931 commit 31f00b8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎prek.toml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ hooks = [
2222
{ id = "tombi-lint" },
2323
]
2424

25+
[[repos]]
26+
repo = "https://github.com/spore-lang/spore-pre-commit"
27+
rev = "v0.0.2"
28+
hooks = [
29+
{
30+
id = "spore-format",
31+
files = "^(examples/[^/]+\\.sp|src/basic_cli/.*\\.sp)$"
32+
},
33+
]
34+
2535
[[repos]]
2636
repo = "https://github.com/crate-ci/typos"
2737
rev = "v1.33.1"

0 commit comments

Comments
 (0)