19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
import type { Linter } from 'eslint';
|
|
|
|
import { interopDefault } from '../util';
|
|
|
|
export async function turbo(): Promise<Linter.Config[]> {
|
|
const [pluginTurbo] = await Promise.all([
|
|
// @ts-expect-error - no types
|
|
interopDefault(import('eslint-config-turbo')),
|
|
] as const);
|
|
|
|
return [
|
|
{
|
|
plugins: {
|
|
turbo: pluginTurbo,
|
|
},
|
|
},
|
|
];
|
|
}
|