From eb787af32558a7f99f00012c2b5f5eebbfd9e3c6 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 b1160be..d8c31c7 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" ],