Closed pvdlg closed 4 years ago
Could we check if it's a TypeScript file and allow anyTest
as a name then? I think the rule context exposes the source file name.
Heh, I've been using ava
as the default import. But anyTest
is still fine.
Thanks @pvdlg, 10.1.0 is now available 🎊
The AVA documentation recommends to to type
t.context
as follow:However importing AVA as
anyTest
instead oftest
triggers theuse-test
rule.I can make a PR but I don't know what the best solution is. Any suggestion?