Closed akwodkiewicz closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.47%. Comparing base (
95849c8
) to head (7e2e78f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
New behaviour / fix for rule
no-named-as-default
: the rule will not show an error if the thing that was imported withsomeName
is exported from the source both asdefault
andsomeName
There's a big caveat related to how the thing is defined in the imported module. If it's a re-export, then this fix will work. If it's defined in the imported module -- it won't work.
This PR fixes all the issues with
because, luckily to us,
userEvent
is re-exported there and not defined in the imported file.Fixes #1594