Skip to content
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

Fix/add imports crash #27

Merged
merged 10 commits into from
Nov 23, 2023
Merged

Fix/add imports crash #27

merged 10 commits into from
Nov 23, 2023

Conversation

arthurgeron
Copy link
Owner

@arthurgeron arthurgeron commented Nov 22, 2023

  • Fixed crash when there is a import declaration but no specifiers;
  • Fixed crash/misbehavior when adding specifiers on import statements with only the default export (e.g. import React from 'react') during autofix;
  • Now properly ignores react type import statements;
  • Moved method from common file to fix circular dependency;
  • Renamed common to src/utils/index to keep file names consistent;
  • Removed unused vars and other minor fixes.

@arthurgeron arthurgeron merged commit d6a8926 into main Nov 23, 2023
4 checks passed
@arthurgeron arthurgeron deleted the fix/add-imports-crash branch November 23, 2023 04:30
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.

1 participant