avajs / eslint-plugin-ava

ESLint rules for AVA
https://avajs.dev
MIT License
230 stars 49 forks source link

ava/no-ignored-test-files - "AVA ignores this file." false positive when using ava in a monorepo structure. #312

Open Mathrio opened 4 years ago

Mathrio commented 4 years ago

I'm trying to use AVA in a monorepo but i'm not able to get this eslint plugin working.

I'm able to execute my tests but the plugin thinks AVA is ignoring the test files.

Here is a small repo(https://github.com/Mathrio/ts-monorepo-starter) to reproduce.

Just build it and then do npm test to see that the test passes. If you look into packages/package-a/test/sample.test.ts you will see the error.

novemberborn commented 4 years ago

This seems related to https://github.com/avajs/eslint-plugin-ava/issues/311#issuecomment-699611364.