Skip to content

Commit

Permalink
fix(backend): actually fix the issue and stop going down the wrong ra…
Browse files Browse the repository at this point in the history
…bbit hole
  • Loading branch information
fmauNeko committed Dec 18, 2024
1 parent 70506d3 commit 9821e94
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/backend/lib/configs/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down
2 changes: 0 additions & 2 deletions packages/backend/lib/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9821e94

Please sign in to comment.