物业代码生成
This commit is contained in:
18
internal/lint-configs/eslint-config/src/configs/turbo.ts
Normal file
18
internal/lint-configs/eslint-config/src/configs/turbo.ts
Normal file
@@ -0,0 +1,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,
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user