From 32001d9a455d1e467e8ab41a03df33f4499cbade Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Sat, 19 Aug 2023 09:37:09 +0300 Subject: [PATCH] build: enable block-scoped-var and accessor-pairs eslint rules (#3102) --- .eslintrc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 27ac580..255e9fc 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",