Repo: Lint rule to ban dynamic syntax in generating tests #11052
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
repo maintenance
things to do with maintenance of the repo, and not with code/docs
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:
RuleTester
testsRuleTester
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 into
eslint-plugin-eslint-plugin
...💖
The text was updated successfully, but these errors were encountered: