Skip to content

Commit

Permalink
Add object-shorthand rule as warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Oct 16, 2021
1 parent 66d2a19 commit 0e4d984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
"object-curly-spacing": ["error", "always"],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"object-shorthand": ["warn", "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 0e4d984

Please sign in to comment.