eslint-plugin-ava
eslint-plugin-ava copied to clipboard
Add `prefer-t-throws` rule
Fixes: https://github.com/avajs/eslint-plugin-ava/issues/156
IssueHunt Summary
Referenced issues
This pull request has been submitted to:
AVA now has t.throws and t.throwsAsync. See the AVA docs.
AVA now has t.throws and t.throwsAsync. See the AVA docs.
So should the rule be t-throws-async instead or should I add another rule?
The name should be the what it is, but you need to also support the async method.