From 9821e946564fae33c5747962c4d47530f57ec270 Mon Sep 17 00:00:00 2001 From: Florian Maunier Date: Wed, 18 Dec 2024 12:55:36 +0100 Subject: [PATCH] fix(backend): actually fix the issue and stop going down the wrong rabbit hole --- packages/backend/lib/configs/default.ts | 3 --- packages/backend/lib/configs/typescript.ts | 2 -- 2 files changed, 5 deletions(-) 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',