Skip to content

Commit 305b563

Browse files
committed
Add prettier
1 parent d7df579 commit 305b563

File tree

4 files changed

+147
-3
lines changed

4 files changed

+147
-3
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
old-website

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
3+
"overrides": [
4+
{
5+
"files": "*.astro",
6+
"options": {
7+
"parser": "astro"
8+
}
9+
}
10+
]
11+
}

package-lock.json

Lines changed: 130 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@
1919
"swiper": "^11.2.10",
2020
"tailwindcss": "^4.1.11",
2121
"typescript": "^5.9.2"
22+
},
23+
"devDependencies": {
24+
"prettier": "3.6.2",
25+
"prettier-plugin-astro": "0.14.1",
26+
"prettier-plugin-tailwindcss": "0.6.14"
2227
}
2328
}

0 commit comments

Comments
 (0)