From 244b74679a74b5858caa6c1823df0c097f51d2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 18 Jul 2023 21:39:46 +0200 Subject: [PATCH] feat: add `unicorn/consistent-function-scoping` BREAKING CHANGE: New rule introduced --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 7383d59..0f2b415 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -176,6 +176,7 @@ "unicorn/better-regex": "error", "unicorn/catch-error-name": "error", "unicorn/consistent-destructuring": "error", + "unicorn/consistent-function-scoping": "error", "unicorn/custom-error-definition": "error", "unicorn/error-message": "error", "unicorn/escape-case": "error",