From 60d2ff54086096c670fe0342425e5468a9352af5 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 22 Oct 2020 12:47:53 +0200 Subject: [PATCH] Enable the `unicorn/no-abusive-eslint-disable` ESLint plugin rule This rule prevents *accidental* disabling of ESLint completely, be ensuring that inline ESLint disable comments always list the affected rules explicitly. Please see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-abusive-eslint-disable.md for additional information. --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index 86df7143f2c20..daf889cb05af8 100644 --- a/.eslintrc +++ b/.eslintrc @@ -36,6 +36,7 @@ "mozilla/use-includes-instead-of-indexOf": "error", "no-unsanitized/method": "error", "no-unsanitized/property": "error", + "unicorn/no-abusive-eslint-disable": "error", "unicorn/no-array-instanceof": "error", "unicorn/prefer-starts-ends-with": "error",