From b0399f117e7afb3c5f7075cdec4913937cbbd096 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Tue, 19 Sep 2023 12:41:10 +0300 Subject: [PATCH] infra: enable no-unneeded-ternary eslint rule (#3257) --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index b1160be5e5f05..d8c31c735a28d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -203,7 +203,7 @@ // "no-ternary": "off", // "no-trailing-spaces": "warn", // "no-underscore-dangle": "warn", - // "no-unneeded-ternary": "warn", + "no-unneeded-ternary": "warn", // "object-curly-spacing": [ "warn", "always" ], // "one-var": "off", // "operator-assignment": [ "warn", "never" ],