From c3f34654af5a68208b5d14293f963abaa7be1432 Mon Sep 17 00:00:00 2001 From: "Kwun Ying (Juliann) Zhou" Date: Thu, 4 Aug 2022 15:32:35 -0400 Subject: [PATCH] add space-infix-ops rule to typescript eslint --- .eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6f9b4fd4c..76574a9a5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,7 +9,9 @@ module.exports = { rules: { 'react-perf/jsx-no-new-array-as-prop': 'off', 'react-perf/jsx-no-new-function-as-prop': 'off', - 'react-perf/jsx-no-new-object-as-prop': 'off' + 'react-perf/jsx-no-new-object-as-prop': 'off', + 'space-infix-ops': 'off', + '@typescript-eslint/space-infix-ops': ['error', { 'int32Hint': false }] } } ]