Skip to content

Commit a83de20

Browse files
committed
refactor: everything
1 parent 0822ab5 commit a83de20

25 files changed

+938
-142
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ pnpm-lock.yaml
3535
package-lock.json
3636
yarn.lock
3737
server
38+
39+
# ignore service worler
40+
service-worker.ts

.prettierrc.js

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
export default {
2-
plugins: ['prettier-plugin-tailwindcss'],
3-
}
2+
// Since prettier 3.0, manually specifying plugins is required
3+
plugins: [
4+
"prettier-plugin-tailwindcss",
5+
"@ianvs/prettier-plugin-sort-imports",
6+
],
7+
// This plugin's options
8+
importOrder: [
9+
"^#server/server-only$",
10+
"^#./server-only$",
11+
"^#experiments/(.*)$",
12+
"<BUILTIN_MODULES>",
13+
"",
14+
"^@builder.io/(.*)$",
15+
"",
16+
"<THIRD_PARTY_MODULES>",
17+
"",
18+
"^#app/(.*)$",
19+
"",
20+
"^#component/(.*)$",
21+
"",
22+
"^#assets/(.*)$",
23+
"",
24+
"^[./]",
25+
],
26+
importOrderParserPlugins: ["typescript", "jsx", "decorators-legacy"],
27+
importOrderTypeScriptVersion: "5.0.0",
28+
};

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# rectanglepodcast.com
2+
23
website about rectangles

index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Rectangle Podcast</title>
7-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet" />
7+
<link
8+
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css"
9+
rel="stylesheet"
10+
/>
811
</head>
9-
<body class="bg-gray-50 font-sans">
10-
11-
</body>
12+
<body class="bg-gray-50 font-sans"></body>
1213
</html>

0 commit comments

Comments
 (0)