From 944ad6a520b21a5c5a45cd4d5bf50276ec7827dc Mon Sep 17 00:00:00 2001 From: Alexandr Date: Sat, 19 Aug 2023 05:54:18 +0300 Subject: [PATCH] Enable block-scoped-var and accessor-pairs eslint rules --- .eslintrc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 27ac580085d72..255e9fc57a574 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,11 +33,11 @@ // Allowed a getter without setter, but all setters require getters - // "accessor-pairs": [ "error", { - // "getWithoutSet": false, - // "setWithoutGet": true - // }], - // "block-scoped-var": "warn", + "accessor-pairs": [ "error", { + "getWithoutSet": false, + "setWithoutGet": true + }], + "block-scoped-var": "warn", "consistent-return": "error", // "curly": "error", // "default-case": "warn",