Skip to content

interleave code between imports #137

@safareli

Description

@safareli

If you have:

import("foo")
console.log("biz")
import("bar")

Despite what you have in styles, you would get the console.log to be pushed at the end of imports

import("foo")
import("bar")

console.log("biz")

is there something one can do to put non import code in between imports?
(reposting from ggascoigne/prettier-plugin-import-sort#19)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions