refactor: drop unused turbo eslint shim
This commit is contained in:
@@ -27,8 +27,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@vben/oxlint-config": "workspace:*",
|
||||
"eslint-config-turbo": "catalog:"
|
||||
"@vben/oxlint-config": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "catalog:",
|
||||
|
||||
@@ -4,7 +4,6 @@ export * from './jsonc';
|
||||
export * from './node';
|
||||
export * from './perfectionist';
|
||||
export * from './pnpm';
|
||||
export * from './turbo';
|
||||
export * from './typescript';
|
||||
export * from './unicorn';
|
||||
export * from './vue';
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
import type { Linter } from 'eslint';
|
||||
|
||||
import { interopDefault } from '../util';
|
||||
|
||||
export async function turbo(): Promise<Linter.Config[]> {
|
||||
const pluginTurbo = await interopDefault(import('eslint-config-turbo'));
|
||||
|
||||
return [
|
||||
{
|
||||
plugins: {
|
||||
turbo: pluginTurbo,
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -7,7 +7,6 @@ import {
|
||||
node,
|
||||
perfectionist,
|
||||
pnpm,
|
||||
turbo,
|
||||
typescript,
|
||||
unicorn,
|
||||
vue,
|
||||
@@ -33,7 +32,6 @@ async function defineConfig(config: FlatConfig[] = []) {
|
||||
node(),
|
||||
perfectionist(),
|
||||
unicorn(),
|
||||
turbo(),
|
||||
yaml(),
|
||||
pnpm(),
|
||||
...customConfig,
|
||||
|
||||
Reference in New Issue
Block a user