mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-11-23 05:59:55 +00:00
19 lines
547 B
TypeScript
19 lines
547 B
TypeScript
import type { Linter } from 'eslint';
|
|
import { getBaseConfig, getTSVueConfig, getNodeFiles, unocss, getWorkerFiles } from '@jellyfin-vue/configs/lint';
|
|
|
|
// TODO: Add missing rules for i18n and json
|
|
export default [
|
|
...getBaseConfig('@jellyfin-vue/frontend'),
|
|
...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'
|
|
]
|
|
}
|
|
] satisfies Linter.Config[];
|