From 96dd9a179726a2e9dd18c5b53ac69b8515520f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E6=98=8E=E5=81=A5?= Date: Fri, 19 May 2023 16:29:15 +0800 Subject: [PATCH] feat: validate `jsonc` file (#184) --- packages/eslint-config-basic/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-basic/index.js b/packages/eslint-config-basic/index.js index 8b27623..7e3d9c6 100644 --- a/packages/eslint-config-basic/index.js +++ b/packages/eslint-config-basic/index.js @@ -59,7 +59,7 @@ module.exports = { }, overrides: [ { - files: ['*.json', '*.json5'], + files: ['*.json', '*.json5', '*.jsonc'], parser: 'jsonc-eslint-parser', rules: { 'jsonc/array-bracket-spacing': ['error', 'never'],