-
Notifications
You must be signed in to change notification settings - Fork 49
Check parent directory name #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sounds like a good idea to me 👍. Would be nice to actually do that for all files that are not in the AVA glob path, be it the default or a custom one. Does anyone know whether helpers and fixtures are ignored even when defining a custom glob path? |
They are. |
But you can I guess in those situations you could just turn off the rule. |
In that case you import all AVA our only some part ? |
Add no-ignored-test-files rule (fixes #51)
In a rule check that we do not create a test files (a file containing
import test from 'ava';
?) in a path that is not in an ignored path likefixtures
orhelpers
.test/units/foo/myTestFile.js
should not trigger an errortest/units/foo/helpers/myHelper.js
should not trigger an errortest/units/foo/helpers/myTestFile.js
should trigger an errorThe text was updated successfully, but these errors were encountered: