Skip to content

Commit 66ef35b

Browse files
authored
Merge pull request #42 from netlify/feat/arrow-body-style
Add `arrow-body-style` ESLint rule
2 parents baf3849 + 1472f9c commit 66ef35b

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)