storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook
MIT License
245 stars 52 forks source link

Fix use-storybook-testing-library default export handling #18

Closed shilman closed 2 years ago

shilman commented 2 years ago

Issue: #15

What Changed

Fixed handling of

import userEvent from '@testing-library/user-event';
import userEvent, { foo, bar as Bar } from '@testing-library/user-event';

Checklist

Check the ones applicable to your change:

Change Type

Indicate the type of change your pull request is:

yannbf commented 2 years ago

Awesome stuff @shilman !! Tested locally and it works perfectly 👌

github-actions[bot] commented 2 years ago

:rocket: PR was released in v0.3.0 :rocket: