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 4623edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Expand Up @@ -26,6 +26,7 @@

"rules": {
"no-var": "warn",
"object-shorthand": ["warn", "properties"],

"accessor-pairs": ["error", { "setWithoutGet": true, "enforceForClassMembers": true }],
"array-bracket-spacing": ["error", "never"],
Expand Down

0 comments on commit 4623edc

Please sign in to comment.