diff --git a/packages/backend/lib/configs/default.ts b/packages/backend/lib/configs/default.ts index 0d34769..a823a03 100644 --- a/packages/backend/lib/configs/default.ts +++ b/packages/backend/lib/configs/default.ts @@ -3,9 +3,6 @@ import type TSESLint from '@typescript-eslint/utils/ts-eslint'; import jest from 'eslint-plugin-jest'; import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; -delete eslintPluginPrettierRecommended.rules!['@typescript-eslint/member-delimiter-style']; -delete eslintPluginPrettierRecommended.rules!['@typescript-eslint/type-annotation-spacing']; - const defaultConfig = (plugin: TSESLint.FlatConfig.Plugin): TSESLint.FlatConfig.Config[] => [ js.configs.recommended, { diff --git a/packages/backend/lib/configs/typescript.ts b/packages/backend/lib/configs/typescript.ts index 2c83454..877782e 100644 --- a/packages/backend/lib/configs/typescript.ts +++ b/packages/backend/lib/configs/typescript.ts @@ -14,8 +14,6 @@ const typescriptConfig = tseslint.config( '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/ban-ts-comment': 'off', - '@typescript-eslint/type-annotation-spacing': 'warn', - '@typescript-eslint/member-delimiter-style': 'warn', // Fix for https://github.com/typescript-eslint/typescript-eslint/issues/2483 'no-shadow': 'off', '@typescript-eslint/no-shadow': 'error',