-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(no-wildcard-imports): mix-and-match import types (#249)
* fix(no-wildcard-imports): mix-and-match import types * chore: add changeset * refactor: update logic to reuse imports * fix: add support for default * fix: reuse existing type import declarations if they exist * chore: fix eslint warnings * fix: lookup for specifiers * fix: update overlap when removing and replacing node
- Loading branch information
Showing
3 changed files
with
152 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'eslint-plugin-primer-react': patch | ||
--- | ||
|
||
Update no-wildcard-imports rule to not create separate imports for type only imports. This prevents an issue downstream with autofixers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters