chore: add sort import plugin

This commit is contained in:
Steven
2023-07-31 23:25:38 +08:00
parent e6ece43231
commit db842a2c78
19 changed files with 298 additions and 63 deletions

View File

@@ -2,5 +2,7 @@
"printWidth": 140,
"useTabs": false,
"semi": true,
"singleQuote": false
"singleQuote": false,
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "^@/(.*)$", "^[./]", ".less$"]
}