diff --git a/.eslintrc b/.eslintrc index a1cd2a529..61feb3f70 100644 --- a/.eslintrc +++ b/.eslintrc @@ -60,7 +60,10 @@ "valid-typeof": ["error", { "requireStringLiterals": true, }], // Best Practices - "accessor-pairs": ["error", { "setWithoutGet": true, }], + "accessor-pairs": ["error", { + "setWithoutGet": true, + "enforceForClassMembers": true, + }], "consistent-return": "error", "curly": ["error", "all"], "eqeqeq": ["error", "always"],