prettier-plugin-imports
Version:
A prettier plugins to sort imports in provided RegEx order
14 lines (12 loc) • 423 B
text/typescript
import otherthing from "@core/otherthing";
import abc from "@core/abc";
import twoLevelRelativePath from "../../twoLevelRelativePath";
import component from "@ui/hello";
import fourLevelRelativePath from "../../../../fourLevelRelativePath";
import something from "@server/something";
import xyz from "@ui/xyz";
import qwerty from "@server/qwerty";
function add(a:number,b:number) {
return a + b;
}