From fe24bf46775f0f8a4a5bb81521eab98fe29daa1f Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 2 Sep 2024 21:32:00 -0400 Subject: [PATCH] chore: fix new lint issues --- .eslintrc.js | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1bf13a95d2c..b4d7d1652d9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -56,29 +56,15 @@ module.exports = { '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', - '@typescript-eslint/indent': [ - 'warn', - 2, - { - SwitchCase: 1, - ignoredNodes: ['TSTypeParameterInstantiation'] - } - ], '@typescript-eslint/prefer-optional-chain': 'error', - '@typescript-eslint/brace-style': 'error', '@typescript-eslint/no-dupe-class-members': 'error', '@typescript-eslint/no-redeclare': 'error', - '@typescript-eslint/type-annotation-spacing': 'error', - '@typescript-eslint/object-curly-spacing': [ - 'error', - 'always' - ], - '@typescript-eslint/semi': 'error', - '@typescript-eslint/space-before-function-paren': [ - 'error', - 'never' - ], - '@typescript-eslint/space-infix-ops': 'off' + '@typescript-eslint/space-infix-ops': 'off', + '@typescript-eslint/no-require-imports': 'off', + '@typescript-eslint/no-empty-object-type': 'off', + '@typescript-eslint/no-wrapper-object-types': 'off', + '@typescript-eslint/no-unused-expressions': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off' } }, {