From 6345bddd38a43c5ba6f890c626aee2328375ad2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 18 Jul 2023 23:06:31 +0200 Subject: [PATCH] fix: relax `@typescript-eslint/prefer-nullish-coalescing` Should ignore ternary tests. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index a199ac9..0015c53 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -320,6 +320,7 @@ "@typescript-eslint/prefer-nullish-coalescing": [ "error", { + "ignoreTernaryTests": true, "ignoreConditionalTests": false, "ignoreMixedLogicalExpressions": false }