From e68933babf3a4fb5b9a064abac6e1b70d6cc23fc Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Sun, 29 May 2022 01:38:00 +0900 Subject: [PATCH] fix: type of `files` in eslintrc overrides --- .eslintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 961fe199582d87..defb331b0a2e8e 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -150,7 +150,7 @@ module.exports = defineConfig({ } }, { - files: 'packages/vite/**/*.*', + files: ['packages/vite/**/*.*'], rules: { 'no-restricted-globals': ['error', 'require', '__dirname', '__filename'] }