Skip to content

use-test: Ignore type import #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 8, 2022
Merged

Conversation

futpib
Copy link
Contributor

@futpib futpib commented Jan 7, 2022

This fixes #320 by ignoring type-only imports (like import type { Macro } from 'ava';).

@futpib futpib force-pushed the no-type-use-test branch 2 times, most recently from 28c32b2 to b75f7a4 Compare January 7, 2022 05:06
@sindresorhus sindresorhus changed the title use-test: ignore type import `use-test: Ignore type import Jan 8, 2022
@sindresorhus sindresorhus changed the title `use-test: Ignore type import use-test: Ignore type import Jan 8, 2022
@novemberborn novemberborn merged commit 9cd3fdf into avajs:main Jan 8, 2022
@novemberborn
Copy link
Member

Shipped in 13.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use-test: Allow import statements without default specifier
3 participants