0
0
mirror of https://github.com/jellyfin/jellyfin-vue.git synced 2025-07-07 17:25:54 +00:00
Files
jellyfin-vue/frontend/eslint.config.ts

19 lines
556 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(pkg.name, true, import.meta.dirname),
...unocss,
...getNodeFiles(pkg.name),
...getWorkerFiles(),
{
name: '(@jellyfin-vue/frontend) Ignored files',
ignores: [
'types/global/routes.d.ts',
'types/global/components.d.ts'
]
}
]);