Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Description
Suggestion
Following#9691 and its ~dozen linked test cleanup issues, we'd like to statically enforce that folks don't add more auto-generated / dynamic tests. I bet this could be done with a lint rule to ban:
- Putting function calls or other dynamic syntax inside
RuleTester
tests - Placing
RuleTester
tests anywhere other than the root of a file (except maybeif
s, for environment/version checks)
Additional Info
I could see this eventually being upstreamed intoeslint-plugin-eslint-plugin
...
💖