UNPKG

prettier-plugin-imports

Version:

A prettier plugins to sort imports in provided RegEx order

21 lines (18 loc) 745 B
// I am top level comment in this file. // I am second line of top level comment in this file. import z from 'z'; import threeLevelRelativePath from "../../../threeLevelRelativePath"; import sameLevelRelativePath from "./sameLevelRelativePath"; import thirdParty from "third-party"; import oneLevelRelativePath from "../oneLevelRelativePath"; 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; }