Skip to content

Commit 15931a4

Browse files
committedOct 29, 2020
Enforces getter/setter pairs in classes (accessor-pairs)
Fixes: standard/standard#1415
1 parent 67ad776 commit 15931a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727

2828
"rules": {
29-
"accessor-pairs": "error",
29+
"accessor-pairs": ["error", { "setWithoutGet": true, "enforceForClassMembers": true }],
3030
"array-bracket-spacing": ["error", "never"],
3131
"array-callback-return": ["error", {
3232
"allowImplicit": false,

0 commit comments

Comments
 (0)
Please sign in to comment.