From 7f1b8e5356a9d96ddac6ccc7ece1da3dee86d6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20de=20Vasconcelos?= Date: Fri, 27 Sep 2024 12:54:16 +0100 Subject: [PATCH] Remove dangling comma on json files --- rules/common.rule.js | 1 + tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/common.rule.js b/rules/common.rule.js index 3e54982..a9b111e 100644 --- a/rules/common.rule.js +++ b/rules/common.rule.js @@ -81,6 +81,7 @@ export default tseslint.config( { files: ['**/*.json'], rules: { + '@stylistic/comma-dangle': ['error', 'never'], 'jsonc/auto': 'error', 'jsonc/sort-keys': ['error', 'asc'], }, diff --git a/tsconfig.json b/tsconfig.json index 3005ae2..c4b1605 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "outDir": "dist", "rootDir": ".", "sourceMap": true, - "target": "ESNext", + "target": "ESNext" }, - "exclude": ["**/node_modules", "**/.*/", "**/dist/"], + "exclude": ["**/node_modules", "**/.*/", "**/dist/"] }