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

addImport refactoring should respect module docs #660

Merged
merged 1 commit into from Nov 18, 2021
Merged

Conversation

razzeee
Copy link
Member

@razzeee razzeee commented Nov 18, 2021

If we have no imports, we need to add our import
after the module doc, if it exists.

Otherwise just add it after the module.

Fixes #659

If we have no imports, we need to add our import
after the module doc, if it exists.

Otherwise just add it after the module.
@razzeee razzeee merged commit 898ea62 into main Nov 18, 2021
@razzeee razzeee deleted the respect-module-docs branch November 18, 2021 01:56
@razzeee razzeee added this to the 2.4 milestone Dec 25, 2021
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.

Imports are added before module doc comment if no imports exist
1 participant