From 669800ac45b01d95be03ff5f85ea2b0559da2e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20PR=C3=89VOT?= Date: Wed, 13 Nov 2024 11:37:55 +0100 Subject: [PATCH] fix(eslint): allow nesting ternary --- packages/eslint-snowball-config/configs/stylistic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-snowball-config/configs/stylistic.js b/packages/eslint-snowball-config/configs/stylistic.js index ec492f2ce..4476cab17 100644 --- a/packages/eslint-snowball-config/configs/stylistic.js +++ b/packages/eslint-snowball-config/configs/stylistic.js @@ -404,7 +404,7 @@ export default [ 'no-negated-condition': 'off', // disallow nested ternary expressions - 'no-nested-ternary': 'error', + 'no-nested-ternary': 'off', // disallow use of the Object constructor 'no-new-object': 'error',