From 8b91a98145f4b727969e5dad16c273a847642ae4 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 20 Sep 2018 12:40:38 -0500 Subject: [PATCH] allow coercion w/ `!!` --- .eslintrc.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 547565ec6..ba6d619b0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -122,7 +122,12 @@ "no-extra-label": "error", "no-extra-parens": "off", "no-floating-decimal": "error", - "no-implicit-coercion": "error", + "no-implicit-coercion": [ + "error", + { + "allow": ["!!"] + } + ], "no-implicit-globals": "error", "no-implied-eval": "error", "no-inline-comments": "off",