feat: update template

This commit is contained in:
2025-09-19 15:41:53 +08:00
parent 86a8d00991
commit 82d02516fe
5 changed files with 164 additions and 189 deletions

View File

@@ -8,5 +8,19 @@
"semi": false,
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
"endOfLine": "lf",
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"^react$",
"^@?\\w",
"^@/components/(.*)$",
"^@/hooks/(.*)$",
"^@/utils/(.*)$",
"^[./]",
"^.+\\.css$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}