From 291d05986685073fb1acc5f8c15e4684d3bc64df Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 1 Aug 2024 21:09:14 +0200 Subject: [PATCH] Fix super-linter config --- tools/linters/.eslintrc.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/linters/.eslintrc.js b/tools/linters/.eslintrc.js index e287e62..eeca409 100644 --- a/tools/linters/.eslintrc.js +++ b/tools/linters/.eslintrc.js @@ -1,8 +1,14 @@ module.exports = { - extends: ["json:recommended"], ignorePatterns: ["!/tools/linters/.eslintrc.yml", "!/tools/linters/.stylelintrc.json"], parserOptions: { ecmaVersion: 2015, sourceType: "module" - } + }, + overrides: [ + { + files: ["*.json"], + extends: ["plugin:jsonc/recommended-with-json"], + parser: "jsonc-eslint-parser", + } + ] };