2025-04-10 07:26:09 +00:00
|
|
|
import { defineConfig } from 'eslint/config';
|
2024-11-04 19:14:39 +00:00
|
|
|
import { getBaseConfig, getTSVueConfig, getNodeFiles, unocss, getWorkerFiles } from '@jellyfin-vue/configs/lint';
|
2024-12-19 19:50:57 +01:00
|
|
|
import pkg from './package.json' with { type: 'json' };
|
2024-10-14 02:09:53 +02:00
|
|
|
|
2025-04-10 07:26:09 +00:00
|
|
|
export default defineConfig([
|
2024-12-19 19:50:57 +01:00
|
|
|
...getBaseConfig(pkg.name),
|
2025-06-05 21:22:34 +00:00
|
|
|
...getTSVueConfig(pkg.name, true, import.meta.dirname),
|
2024-10-14 02:09:53 +02:00
|
|
|
...unocss,
|
2025-06-05 21:22:34 +00:00
|
|
|
...getNodeFiles(pkg.name),
|
2024-10-26 12:59:22 +00:00
|
|
|
...getWorkerFiles(),
|
|
|
|
|
{
|
|
|
|
|
name: '(@jellyfin-vue/frontend) Ignored files',
|
|
|
|
|
ignores: [
|
|
|
|
|
'types/global/routes.d.ts',
|
|
|
|
|
'types/global/components.d.ts'
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-04-10 07:26:09 +00:00
|
|
|
]);
|