-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
First off, great work on this plugin! It's a lifesaver.
One suggestion: Currently, the plugin seems to want to add 'use client' to the top of every test file that uses JSX. Of course, users could configure ESLint to only apply the plugin to non-test files, but that can be tricky. It'd be great if there was some heuristic that the plugin could use to determine what's a test and what isn't. As a first approximation, I think you could safely ignore all files that don't have any exports.
Metadata
Metadata
Assignees
Labels
No labels