-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
handle-callback-err doesn't get arrow function it seems #2823
Closed
mgenev opened this issue
Jun 22, 2015
· 6 comments
· Fixed by DavidKindler/meteor#3 · May be fixed by iamstoick/javascript#11
Closed
handle-callback-err doesn't get arrow function it seems #2823
mgenev opened this issue
Jun 22, 2015
· 6 comments
· Fixed by DavidKindler/meteor#3 · May be fixed by iamstoick/javascript#11
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Comments
Can you give us the exact version of eslint you're using as well as the output? Thanks! |
ESLint: "eslint": "^0.23.0", |
Here's the simplified version of the problem and it still warns: let x = err => err; The ES5 version of that code does not warn. var x = function(err) { return err; } |
Yup, looks like a bug. |
I'll look at this |
Thanks! |
xjamundx
pushed a commit
to xjamundx/eslint
that referenced
this issue
Jun 24, 2015
nzakas
added a commit
that referenced
this issue
Jun 25, 2015
Fix: handle-callback-err missing arrow functions (fixes #2823)
eslint-deprecated
bot
added
the
archived due to age
This issue has been archived; please open a new issue for any further discussion
label
Feb 7, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
I have this code
and I get a warning for not meeting the
handle-callback-err
rule, but in reality i'm handling it with the arrow...The text was updated successfully, but these errors were encountered: