@1password/import-sort-style 中文文档教程
import-sort-style-ag
import-sort 的样式 在模块上,自然地对导入的成员进行排序。
// Absolute modules with side effects (not sorted because order may matter)
import "a";
import "c";
import "b";
// Relative modules with side effects (not sorted because order may matter)
import "./a";
import "./c";
import "./b";
// Modules from the Node.js "standard" library sorted by name
import {readFile, writeFile} from "fs";
import * as path from "path";
// Third-party modules sorted by name
import aa from "aa";
import bb from "bb";
import cc from "cc";
// First-party modules sorted by "relative depth" and then by name
import aaa from "../../aaa";
import bbb from "../../bbb";
import aaaa from "../aaaa";
import bbbb from "../bbbb";
import aaaaa from "./aaaaa";
import bbbbb from "./bbbbb";
import-sort-style-ag
A style for import-sort that is focused on modules, and sorts imported members naturally.
// Absolute modules with side effects (not sorted because order may matter)
import "a";
import "c";
import "b";
// Relative modules with side effects (not sorted because order may matter)
import "./a";
import "./c";
import "./b";
// Modules from the Node.js "standard" library sorted by name
import {readFile, writeFile} from "fs";
import * as path from "path";
// Third-party modules sorted by name
import aa from "aa";
import bb from "bb";
import cc from "cc";
// First-party modules sorted by "relative depth" and then by name
import aaa from "../../aaa";
import bbb from "../../bbb";
import aaaa from "../aaaa";
import bbbb from "../bbbb";
import aaaaa from "./aaaaa";
import bbbbb from "./bbbbb";
更多
你可能也喜欢
- @0x/abi-gen-templates 中文文档教程
- @1nd/fabric-history-pure-browser 中文文档教程
- @2cm/cli 中文文档教程
- @3846masa/linebot 中文文档教程
- @3blades/cypress-test-utils 中文文档教程
- @8base/api-client 中文文档教程
- @8base/react-native-auth0-auth-client 中文文档教程
- @aaashur/eleventy-plugin-define-page-data 中文文档教程
- @aardvarkxr/aardvark-shared 中文文档教程
- @aarnet/jupyterlab-ext-changeconf 中文文档教程