prek: run treefmt hook serially

Parallel nix fmt batches time out on treefmt's cache lock.

Updates #1926
This commit is contained in:
Kristoffer Dalby committed 2026-11-11 12:19:23 +01:00
1 parent 8a291dfc9d
commit 167f4f646f
1 file changed
+2
+2
View File
@@ -41,6 +41,8 @@ repos:
name: treefmt
entry: nix fmt --
language: system
# Parallel batches time out on treefmt's cache lock.
require_serial: true
exclude: ^docs/
types_or: [javascript, jsx, ts, tsx, yaml, json, html, css, scss, sass, markdown, nix]