fix eslint errors in frontend / frontend-embed

This commit is contained in:
Hazelnoot 2024-10-16 09:55:29 -04:00
parent 2c8af72168
commit 6c30c94b92
2 changed files with 4 additions and 4 deletions

View file

@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js';
export default [ export default [
...sharedConfig, ...sharedConfig,
{ {
files: ['src/**/*.vue'], files: ['{src,test,js,@types}/**/*.vue'],
...pluginMisskey.configs.typescript, ...pluginMisskey.configs.typescript,
}, },
...pluginVue.configs['flat/recommended'], ...pluginVue.configs['flat/recommended'],
{ {
files: ['src/**/*.{ts,vue}'], files: ['{src,test,js,@types}/**/*.{ts,vue}'],
languageOptions: { languageOptions: {
globals: { globals: {
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])), ...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),

View file

@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js';
export default [ export default [
...sharedConfig, ...sharedConfig,
{ {
files: ['src/**/*.vue'], files: ['{src,test,js,@types}/**/*.vue'],
...pluginMisskey.configs.typescript, ...pluginMisskey.configs.typescript,
}, },
...pluginVue.configs['flat/recommended'], ...pluginVue.configs['flat/recommended'],
{ {
files: ['src/**/*.{ts,vue}'], files: ['{src,test,js,@types}/**/*.{ts,vue}'],
languageOptions: { languageOptions: {
globals: { globals: {
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])), ...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),