From 71f3e28fe5fa3b3fb430c491fd1d3552527fdb62 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 12 May 2026 00:24:44 +0200 Subject: [PATCH] ci: Also lint json5 files (#37659) --- .github/workflows/files-changed.yml | 1 + eslint.json.config.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/files-changed.yml b/.github/workflows/files-changed.yml index 50aa2045e2..7b68a393d0 100644 --- a/.github/workflows/files-changed.yml +++ b/.github/workflows/files-changed.yml @@ -119,6 +119,7 @@ jobs: json: - "**/*.json" + - "**/*.json5" e2e: - "tests/e2e/**" diff --git a/eslint.json.config.ts b/eslint.json.config.ts index 45696fb79c..abc46a1bd4 100644 --- a/eslint.json.config.ts +++ b/eslint.json.config.ts @@ -13,6 +13,12 @@ export default defineConfig([ language: 'json/json', extends: ['json/recommended'], }, + { + files: ['**/*.json5'], + plugins: {json}, + language: 'json/json5', + extends: ['json/recommended'], + }, { files: [ 'tsconfig.json',