aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
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"
],