From e17e0a76e4b8df700525b2634dee28235d52fa79 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Thu, 27 Jul 2023 22:03:39 +0200 Subject: [PATCH] Added `no-lonely-if` rule to generic config --- configs/generic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/generic.js b/configs/generic.js index 8c4199e..c99fce1 100644 --- a/configs/generic.js +++ b/configs/generic.js @@ -196,6 +196,7 @@ const generic = { 'never', ], 'no-nested-ternary': 'error', + 'no-lonely-if': 'error', }, };