-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
chore: import sort source code, exception for the astro
package
#10242
Conversation
|
@@ -1,6 +1,6 @@ | |||
import type { AstroIntegrationLogger } from 'astro'; | |||
import { relative, relative as relativePath } from 'node:path'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submitted a bug in the Biome repository. The code, even though weird, is correct. Biome forgets the as
import.
Hopefully this change won't break the adapter logic!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Changes
This PR applies import sorting to our source code, exception for the
astro
package.The only file that I manually changed was
packages/integrations/lit/server.js
, where I "pinned" the shim at the top of the file, by adding a space.Testing
The CI should pass
Docs
N/A, internal code change