Skip to content

Commit 409de64

Browse files
committed
feat: add prettier configuration and format code
1 parent fd1ca5b commit 409de64

File tree

14 files changed

+327
-238
lines changed

14 files changed

+327
-238
lines changed

.prettierrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "es5",
8+
"bracketSpacing": true,
9+
"arrowParens": "always",
10+
"endOfLine": "lf",
11+
"importOrder": [
12+
"^@/assets/(.*)$",
13+
"^@/components/(.*)$",
14+
"^@/externals/(.*)$",
15+
"^@/hooks/(.*)$",
16+
"^@/layouts/(.*)$",
17+
"^@/modules/(.*)$",
18+
"^@/stores/(.*)$",
19+
"^@/utils/(.*)$",
20+
"^[./]"
21+
],
22+
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"]
23+
}

0 commit comments

Comments
 (0)