From 8123f001febf8d6674ae7d646215771ed21a0e11 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 31 Oct 2026 04:27:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20allow=20multi-document?= =?UTF-8?q?=20YAML=20in=20check-yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep validating pnpm-lock.yaml instead of excluding it. Co-authored-by: Zhan Rongrui --- prek.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prek.toml b/prek.toml index 329edeb..1738cac 100644 --- a/prek.toml +++ b/prek.toml @@ -7,7 +7,7 @@ hooks = [ { id = "check-added-large-files" }, { id = "check-case-conflict" }, { id = "check-executables-have-shebangs" }, - { id = "check-yaml", exclude = "^pnpm-lock\\.yaml$" }, + { id = "check-yaml", args = ["--allow-multiple-documents"] }, { id = "check-json" }, { id = "check-merge-conflict" }, { id = "end-of-file-fixer" },