From 2ca64e3028d73ee4208df5f4d9c9d872bf091b68 Mon Sep 17 00:00:00 2001 From: Bohan Cheng <47214785+cbh778899@users.noreply.github.com> Date: Fri, 2 Aug 2024 17:43:19 +1000 Subject: [PATCH] add ignore cases (#20) Signed-off-by: cbh778899 --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 547e34b..297804f 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,6 +5,7 @@ import babelImportAttributesPlugin from '@babel/plugin-syntax-import-attributes' export default [ + {ignores: ["volumes/*", ".github/*", ".vscode/*", "example/*"]}, {languageOptions: { globals: globals.browser }}, pluginJs.configs.recommended, { @@ -23,7 +24,6 @@ export default [ } }, { - ignores: ["volumes/*"], rules: { 'no-undef': 'off' }