Skip to content

Commit

Permalink
Add the object-curly-spacing rule
Browse files Browse the repository at this point in the history
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"`.
  • Loading branch information
LinusU committed Jun 27, 2018
1 parent 4ef2c71 commit e8e7182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Expand Up @@ -157,6 +157,7 @@
"no-useless-return": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"object-curly-spacing": ["error", "always"],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"one-var": ["error", { "initialized": "never" }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
Expand Down

0 comments on commit e8e7182

Please sign in to comment.