From d1085d5b1a84f7534b3df524a7dc43e4a2a61c9b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:24:29 +0400 Subject: feat(eslint): Rule "no-useless-computed-key" Signed-off-by: Valentin Popov --- src/rules/default.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rules') diff --git a/src/rules/default.json b/src/rules/default.json index bc3b692..7c2e48c 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -362,6 +362,12 @@ "vars": "all" } ], + "no-useless-computed-key": [ + "error", + { + "enforceForClassMembers": true + } + ], "no-useless-constructor": [ "error" ], -- cgit v1.2.3