Repository navigation
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. |
0 replies
|
This is still happening with ava 5.1.0 |
1 reply
|
The issue here is browserify/resolve#222 Ava does not provide a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.jsonorava.config.*configuration files) and how you're invoking AVA. Share the installed AVA version (get it by runningnpx ava --version).yarn ava --versionreturns0.0.8though 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
mainkey? 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?
All reactions