0
0
mirror of https://github.com/jellyfin/jellyfin-vue.git synced 2025-05-16 06:22:11 +00:00
Files
jellyfin-vue/frontend/eslint.config.ts
Fernando Fernández 1d2986d228 chore: add @eslint/json and @eslint/css
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2025-05-05 19:18:45 +02:00

19 lines
538 B
TypeScript

import { defineConfig } from 'eslint/config';
import { getBaseConfig, getTSVueConfig, getNodeFiles, unocss, getWorkerFiles } from '@jellyfin-vue/configs/lint';
import pkg from './package.json' with { type: 'json' };
export default defineConfig([
...getBaseConfig(pkg.name),
...getTSVueConfig(true, import.meta.dirname),
...unocss,
...getNodeFiles(),
...getWorkerFiles(),
{
name: '(@jellyfin-vue/frontend) Ignored files',
ignores: [
'types/global/routes.d.ts',
'types/global/components.d.ts'
]
}
]);