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
no-mocha-global-arrows: New rule #78
Conversation
var callee = node.callee, | ||
fnArg; | ||
|
||
if (callee && callee.name && mochaFunctionNames.indexOf(callee.name) > -1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work for function names like it.only
. See how this is done in other rules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks: b18e8ba
Okay, renamed and rebased. |
@lo1tuma Can you merge this? |
@paulmelnikow Sorry for the late response, I was traveling. Thanks for your contribution, LGTM. |
Thanks! |
For #48