-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consistent-return #60
Comments
@SimonLab do we really want to not be able to do this:
"treatUndefinedAsUnspecified": true stops this |
hmm... happy to enforce this until/unless it becomes onerous. |
Just one thing which feels strange with this rule is to add a return in front of an async function:
When using multiple async functions it started to look a bit weird. |
Agreed @SimonLab I think this should be disabled:
|
I'm undecided, I've outlined the modification I'd make but will let you guys decide. |
http://eslint.org/docs/rules/consistent-return
Consistency is good!
The text was updated successfully, but these errors were encountered: