Skip to content

Commit 579e10a

Browse files
committed
Add prefer-arrow-callback ESLint rule
1 parent 7c9d6e7 commit 579e10a

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
@@ -126,6 +126,7 @@ module.exports = {
126126
'object-shorthand': 2,
127127
'operator-assignment': 2,
128128
'padding-line-between-statements': 2,
129+
'prefer-arrow-callback': [2, { allowNamedFunctions: true }],
129130
'prefer-destructuring': 2,
130131
'prefer-exponentiation-operator': 2,
131132
'prefer-numeric-literals': 2,

0 commit comments

Comments
 (0)