Skip to content

Commit

Permalink
Merge pull request #43 from netlify/feat/prefer-arrow-callback
Browse files Browse the repository at this point in the history
Add `prefer-arrow-callback` ESLint rule
  • Loading branch information
ehmicky authored Dec 7, 2020
2 parents 3663f87 + 579e10a commit baf3849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ module.exports = {
'object-shorthand': 2,
'operator-assignment': 2,
'padding-line-between-statements': 2,
'prefer-arrow-callback': [2, { allowNamedFunctions: true }],
'prefer-destructuring': 2,
'prefer-exponentiation-operator': 2,
'prefer-numeric-literals': 2,
Expand Down

0 comments on commit baf3849

Please sign in to comment.