Skip to content

Commit 0c59b83

Browse files
committedOct 29, 2020
Disallow spaces inside of computed keys of class methods, getters and setters (computed-property-spacing)
Fixes: standard/standard#1416
1 parent 65fb1dc commit 0c59b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}],
4949
"comma-spacing": ["error", { "before": false, "after": true }],
5050
"comma-style": ["error", "last"],
51-
"computed-property-spacing": ["error", "never"],
51+
"computed-property-spacing": ["error", "never", { "enforceForClassMembers": true }],
5252
"constructor-super": "error",
5353
"curly": ["error", "multi-line"],
5454
"default-case-last": "error",

0 commit comments

Comments
 (0)
Please sign in to comment.