Blame view

泰额版/Food Labeling Management Code/Yi.Vben5.Vue3/internal/lint-configs/eslint-config/src/configs/turbo.ts 371 Bytes
383e20a3   杨鑫   拉取
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  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,
        },
      },
    ];
  }