diff --git a/.eslintrc b/.eslintrc index e06d929085a33..7ad4fa257f42d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -67,6 +67,7 @@ "no-unreachable": "error", "no-unsafe-finally": "error", "no-unsafe-negation": "error", + "no-unsafe-optional-chaining": ["error", { "disallowArithmeticOperators": true }], "use-isnan": ["error", { "enforceForIndexOf": true, }], "valid-typeof": ["error", { "requireStringLiterals": true, }],