Skip to content

Commit

Permalink
remove consistent-return rule
Browse files Browse the repository at this point in the history
It was too annoying. It's often nice to being able to shortcut a function. Explicit consistent return doesn't always make sense.
  • Loading branch information
sindresorhus committed Feb 13, 2016
1 parent 355ecec commit 970367e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module.exports = {
'accessor-pairs': 2,
'array-callback-return': 2,
'block-scoped-var': 2,
'consistent-return': 2,
'curly': 2,
'default-case': 2,
'dot-notation': 2,
Expand Down

0 comments on commit 970367e

Please sign in to comment.