Skip to content

Commit e8e7182

Browse files
authored
Add the object-curly-spacing rule
Per discussion [here](standard/standard#609 (comment)) (standard/standard#609 (comment)) it seems like it's both time for this to happen, and that the community prefers `"always"`.
1 parent 4ef2c71 commit e8e7182

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
"no-useless-return": "error",
158158
"no-whitespace-before-property": "error",
159159
"no-with": "error",
160+
"object-curly-spacing": ["error", "always"],
160161
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
161162
"one-var": ["error", { "initialized": "never" }],
162163
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],

0 commit comments

Comments
 (0)