mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-05-16 06:22:11 +00:00
19 lines
538 B
TypeScript
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'
|
|
]
|
|
}
|
|
]);
|