From b5136b946288caadcccd125a4ab175e9e0d8ddab Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Fri, 16 Feb 2024 07:46:42 -0500 Subject: [PATCH] feat: support json, json5, jsonc in eslint.probe setting --- server/src/eslint.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/eslint.ts b/server/src/eslint.ts index 93abfc2e..572a28a2 100644 --- a/server/src/eslint.ts +++ b/server/src/eslint.ts @@ -752,6 +752,9 @@ export namespace ESLint { const languageId2PluginName: Map = new Map([ ['html', 'html'], + ['json', 'jsonc'], + ['json5', 'jsonc'], + ['jsonc', 'jsonc'], ['vue', 'vue'], ['markdown', 'markdown'] ]);