admin-vben/internal/lint-configs/eslint-config/src/configs/turbo.ts

17 lines
316 B
TypeScript
Raw Normal View History

2024-07-10 14:30:39 +00:00
import type { Linter } from 'eslint';
export async function turbo(): Promise<Linter.FlatConfig[]> {
const [pluginTurbo] = await Promise.all([
// @ts-expect-error - no types
import('eslint-config-turbo'),
] as const);
return [
{
plugins: {
turbo: pluginTurbo,
},
},
];
}