refactor: drop unused turbo eslint shim

This commit is contained in:
xingyu4j
2026-03-14 19:20:39 +08:00
parent 55b54e24fe
commit 15f74b9d97
5 changed files with 1 additions and 21 deletions

View File

@@ -27,8 +27,7 @@
}
},
"dependencies": {
"@vben/oxlint-config": "workspace:*",
"eslint-config-turbo": "catalog:"
"@vben/oxlint-config": "workspace:*"
},
"devDependencies": {
"@eslint/js": "catalog:",

View File

@@ -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';

View File

@@ -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,
},
},
];
}

View File

@@ -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,

View File

@@ -92,7 +92,6 @@ catalog:
element-plus: ^2.13.5
es-toolkit: ^1.45.1
eslint: ^10.0.3
eslint-config-turbo: ^2.8.17
eslint-plugin-better-tailwindcss: ^4.3.2
eslint-plugin-command: ^3.5.2
eslint-plugin-jsonc: ^3.1.2