From 522877b8ddda2b92983cfb57aca394e5b988e699 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 31 Jan 2022 21:34:47 +0900 Subject: [PATCH] update eslint rule --- packages/shared/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/.eslintrc.js b/packages/shared/.eslintrc.js index 775981046..2d3356c3a 100644 --- a/packages/shared/.eslintrc.js +++ b/packages/shared/.eslintrc.js @@ -57,7 +57,7 @@ module.exports = { 'object-curly-spacing': ['error', 'always'], 'space-infix-ops': ['error'], 'space-before-blocks': ['error', 'always'], - '@typescript-eslint/no-unnecessary-condition': ['error'], + '@typescript-eslint/no-unnecessary-condition': ['warn'], '@typescript-eslint/no-var-requires': ['warn'], '@typescript-eslint/no-inferrable-types': ['warn'], '@typescript-eslint/no-empty-function': ['off'],