Skip to content

Commit

Permalink
Add object-shorthand rule
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Apr 24, 2020
1 parent 3f4a3fe commit 01168be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Expand Up @@ -169,6 +169,7 @@
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
"object-curly-spacing": ["error", "always"],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"object-shorthand": ["error", "properties"],
"one-var": ["error", { "initialized": "never" }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before", "|>": "before" } }],
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],
Expand Down

0 comments on commit 01168be

Please sign in to comment.