Closed DavidVujic closed 2 years ago
The import plugin probably struggles with this:
https://github.com/avajs/ava/blob/9bc615e2c93b264b98bac009a897c09d59f72bc4/package.json#L12-L15
But that is a problem with the import ESLint plugin and not AVA.
Thank you for clarifying!
I upgraded Ava to v4 and ran into linting issues. I am developing a Node.js library. The config I use doesn't recognize
ava
when using require. See gifski generated animation below!Not sure if it is an issue with Ava, or with AirBnb-base. But this was introduced when switching from Ava v3 to v4.
My current workaround is to have a custom rule in the "tests" folder, where I ignore the "missing imports" rule.
package.json (this is an example code, that reproduces the error):