-
Notifications
You must be signed in to change notification settings - Fork 49
no-inline-assertions
rule
#152
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
Labels
Comments
Sounds good to me. |
@issuehunt has funded $60.00 to this issue.
|
I would like to work on it in couple of days. |
Go ahead :) Make sure you carefully read https://github.com/avajs/eslint-plugin-ava/blob/master/docs/new-rule.md first and also look at some previous PRs to see how it's done. |
@sindresorhus has rewarded $54.00 to @JLHwung. See it on IssueHunt
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
For readability reasons, I try to not use inline arrow functions when the function doesn't return, to make it clear it doesn't return. I would like to prevent assertions from being called in an inline arrow function test. This might seem like an edge-case, but I've seen it many times and have had to comment about it on multiple pull requests.
Fail
Pass
IssueHunt Summary
Backers (Total: $60.00)
Submitted pull Requests
no-inline-assertion
rule (Fixes #152)Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: