Skip to content

Commit 1472f9c

Browse files
committed
Add arrow-body-style ESLint rule
1 parent 7c9d6e7 commit 1472f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
// Those ESLint rules are not enabled by Prettier, ESLint recommended rules
2828
// nor standard JavaScript. However, they are still useful
2929
'array-callback-return': [2, { allowImplicit: true, checkForEach: true }],
30+
'arrow-body-style': 2,
3031
'block-scoped-var': 2,
3132
'class-methods-use-this': 2,
3233
complexity: [2, 5],

0 commit comments

Comments
 (0)