From 6c30c94b92051fa97e9fdfcf4e65b681c95a9398 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Wed, 16 Oct 2024 09:55:29 -0400 Subject: [PATCH] fix eslint errors in frontend / frontend-embed --- packages/frontend-embed/eslint.config.js | 4 ++-- packages/frontend/eslint.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/frontend-embed/eslint.config.js b/packages/frontend-embed/eslint.config.js index dd8f03dac5..e138d51d94 100644 --- a/packages/frontend-embed/eslint.config.js +++ b/packages/frontend-embed/eslint.config.js @@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js'; export default [ ...sharedConfig, { - files: ['src/**/*.vue'], + files: ['{src,test,js,@types}/**/*.vue'], ...pluginMisskey.configs.typescript, }, ...pluginVue.configs['flat/recommended'], { - files: ['src/**/*.{ts,vue}'], + files: ['{src,test,js,@types}/**/*.{ts,vue}'], languageOptions: { globals: { ...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])), diff --git a/packages/frontend/eslint.config.js b/packages/frontend/eslint.config.js index dd8f03dac5..e138d51d94 100644 --- a/packages/frontend/eslint.config.js +++ b/packages/frontend/eslint.config.js @@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js'; export default [ ...sharedConfig, { - files: ['src/**/*.vue'], + files: ['{src,test,js,@types}/**/*.vue'], ...pluginMisskey.configs.typescript, }, ...pluginVue.configs['flat/recommended'], { - files: ['src/**/*.{ts,vue}'], + files: ['{src,test,js,@types}/**/*.{ts,vue}'], languageOptions: { globals: { ...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),