From f6e2eebecc714c4bcd2c1a00b051a40f1ec9b633 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Tue, 3 Jun 2025 21:42:31 -0700 Subject: [PATCH] Ignore devcontainer, launch.json from json pre-commit validation They follow jsonc format and allow comments but fail the json validator. This is a spurious error and should be ignored --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01cfc839..392b4643 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,7 @@ repos: # Exclude elisp files to not clear page breaks exclude: \.el$ - id: check-json + exclude: (devcontainer\.json|launch\.json)$ - id: check-toml - id: check-yaml