From ed39714c83a2a63ec26b245ba8520f6f1f034fcd Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Sun, 29 Dec 2024 03:38:54 -0800 Subject: [PATCH] =?UTF-8?q?Moved=20`ignores`=20from=20JSON=20config=20to?= =?UTF-8?q?=20own=20top-level=20block=20for=20improved=20performance=20?= =?UTF-8?q?=E2=86=9E=20[auto-sync=20from=20https://github.com/adamlui/ai-w?= =?UTF-8?q?eb-extensions]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index e71dde9..2f9c0e9 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -6,6 +6,7 @@ import stylisticJS from '@stylistic/eslint-plugin-js' import yml from 'eslint-plugin-yml' export default [ + { ignores: ['**/package-lock.json'] }, { files: ['**/*.js', '**/*.mjs'], languageOptions: { ecmaVersion: 'latest', sourceType: 'script', globals: { chrome: 'readonly' }}, @@ -30,7 +31,7 @@ export default [ } }, { files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }}, - { files: ['**/*.json'], ignores: ['**/package-lock.json'], language: 'json/json', ...json.configs.recommended }, + { files: ['**/*.json'], language: 'json/json', ...json.configs.recommended }, { files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown }, rules: {