Skip to content

Commit

Permalink
Merge pull request #166 from standard/object-shorthand
Browse files Browse the repository at this point in the history
Add object-shorthand rule
  • Loading branch information
LinusU authored Oct 16, 2021
2 parents 66d2a19 + 4623edc commit 7460290
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 @@ -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 7460290

Please sign in to comment.