Replies: 3 comments 1 reply
-
Could you try with the main branch, by installing directly from GitHub? There have been a lot of unreleased changes. |
Beta Was this translation helpful? Give feedback.
-
This is still happening with ava 5.1.0 |
Beta Was this translation helpful? Give feedback.
-
The issue here is browserify/resolve#222 Ava does not provide a |
Beta Was this translation helpful? Give feedback.
-
Please provide details about:
Please share relevant sample code. Or better yet, provide a link to a minimal reproducible example.
We'll also need your AVA configuration (in
package.json
orava.config.*
configuration files) and how you're invoking AVA. Share the installed AVA version (get it by runningnpx ava --version
).yarn ava --version
returns0.0.8
though I have"ava": "^4.0.0-alpha.2",
listed in my devDependenciesI'm using ava for prettier-plugin-astro, and I've run into a problem where eslint:node/no-missing-imports is failing for me, I believe because ava 4 does not define a
main
key? I'm not quite sure though. If I useimport test from 'ava/entrypoints/main.mjs';
the lint is happy though.Is there something I can improve with my setup to fix this rule other than hardcoding the file import / disabling the rule for that line?
Beta Was this translation helpful? Give feedback.
All reactions