jellyfin-vue/frontend/eslint.config.ts
2024-11-04 20:41:56 +01:00

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[];