Skip to content

Commit

Permalink
Enforces getter/setter pairs in classes (accessor-pairs)
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 67ad776 commit 15931a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},

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

0 comments on commit 15931a4

Please sign in to comment.