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'])),