From 36a03a4ca6a74c407b88f85e1bce6321a05a318e Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Wed, 1 Mar 2023 10:27:05 +0100 Subject: [PATCH] Update eslint config --- .eslintrc.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8fcbbe2..a9ae96b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,7 +10,6 @@ module.exports = { plugins: ['@typescript-eslint', 'eslint-plugin-jest'], rules: { '@typescript-eslint/no-require-imports': 'error', - '@typescript-eslint/no-useless-constructor': 'error', '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/ban-ts-comment': [ @@ -38,7 +37,7 @@ module.exports = { '@typescript-eslint/no-empty-function': 'off', 'jest/no-standalone-expect': 'off', 'jest/no-conditional-expect': 'off', - '@typescript-eslint/prefer-readonly': 'off' + 'no-magic-numbers': 'off', } } ],