From b650e038ce52e4fd98b51505c478515c3e70f4d4 Mon Sep 17 00:00:00 2001 From: Hazmi Alfarizqi Date: Mon, 14 Oct 2024 23:11:58 +0700 Subject: [PATCH] feat(common): new unicorn/consistent-existence-index-check --- conf/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/common.js b/conf/common.js index 04a0cd6..0a25795 100644 --- a/conf/common.js +++ b/conf/common.js @@ -305,6 +305,7 @@ export default [ "unicorn/catch-error-name": ["warn", { name: "error" }], "unicorn/consistent-destructuring": "warn", "unicorn/consistent-empty-array-spread": "error", + "unicorn/consistent-existence-index-check": "error", "unicorn/consistent-function-scoping": "error", "unicorn/custom-error-definition": "error", "unicorn/empty-brace-spaces": "warn",