refactor: simplify oxc eslint compatibility

This commit is contained in:
xingyu4j
2026-03-14 00:16:27 +08:00
parent 7b064e9f33
commit 913636ae44
11 changed files with 491 additions and 568 deletions

View File

@@ -21,14 +21,6 @@ const customConfig: Linter.Config[] = [
ignores: restrictedImportIgnores,
rules: {
'perfectionist/sort-interfaces': 'off',
'perfectionist/sort-objects': 'off',
},
},
{
files: ['**/**.vue'],
ignores: restrictedImportIgnores,
rules: {
'perfectionist/sort-objects': 'off',
},
},
{
@@ -63,7 +55,6 @@ const customConfig: Linter.Config[] = [
],
},
],
'perfectionist/sort-interfaces': 'off',
},
},
{
@@ -137,9 +128,7 @@ const customConfig: Linter.Config[] = [
{
files: ['apps/backend-mock/**/**', 'docs/**/**'],
rules: {
'@typescript-eslint/no-extraneous-class': 'off',
'no-console': 'off',
'unicorn/prefer-module': 'off',
},
},
{