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

Inject required groups after leading separator if present #95

Conversation

fbartho
Copy link
Collaborator

@fbartho fbartho commented May 19, 2023

Created as a separate PR to review if I'm missing anything

@fbartho fbartho requested a review from IanVS May 19, 2023 17:25
@IanVS IanVS force-pushed the fb/leading-separator-is-magic branch from fed021d to 97dde32 Compare May 19, 2023 17:56
@@ -6,7 +6,6 @@ import thirdParty from 'third-party';
import fs from "fs"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import fs from "fs";

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, to keep this newline, we'd need to specify <BUILTIN_MODULES> in the importOrder, but the point of this test is to show that we do that automatically, so we'll just remove the newline and it's fine.

@fbartho fbartho merged commit 0789e07 into fb/allow-spacing-after-top-of-file-comments May 19, 2023
@fbartho fbartho deleted the fb/leading-separator-is-magic branch May 19, 2023 18:19
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.

2 participants