Skip to content

Commit

Permalink
Disallow spaces inside of computed keys of class methods, getters and…
Browse files Browse the repository at this point in the history
… setters (computed-property-spacing)

Fixes: standard/standard#1416
  • Loading branch information
feross committed Oct 29, 2020
1 parent 65fb1dc commit 0c59b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"computed-property-spacing": ["error", "never", { "enforceForClassMembers": true }],
"constructor-super": "error",
"curly": ["error", "multi-line"],
"default-case-last": "error",
Expand Down

0 comments on commit 0c59b83

Please sign in to comment.