Skip to content

Commit d75c850

Browse files
committed
refactor: update eslint getter-return rule to return undefined
1 parent a3e984b commit d75c850

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

resources/eslint/eslint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const CONFIG = [
1111
// eslint
1212
"curly": [ "error", "multi-line", "consistent" ],
1313
"eqeqeq": [ "error", "smart" ],
14+
"getter-return": [ "error", { "allowImplicit": true } ],
1415
"grouped-accessor-pairs": [ "error", "getBeforeSet" ],
1516
"no-constructor-return": "error",
1617
"no-lone-blocks": "off", // XXX we are using lone blocks for code folding in vim

0 commit comments

Comments
 (0)