Skip to content

Commit 1f6757c

Browse files
committed
Added prettier config, but haven't run it
1 parent fff6e56 commit 1f6757c

File tree

4 files changed

+152
-297
lines changed

4 files changed

+152
-297
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.md
2+
*.yml
3+
*.yaml

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"printWidth": 120
7+
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@
1616
"scripts": {
1717
"build": "tsup",
1818
"test": "vitest run",
19-
"prepublishOnly": "npm run build"
19+
"prepublishOnly": "npm run build",
20+
"prettier": "prettier -w ."
2021
},
2122
"dependencies": {
2223
"@cloudflare/workers-types": "^4.20250311.0"
2324
},
2425
"devDependencies": {
26+
"prettier": "^3.5.3",
2527
"tsup": "^8.4.0",
2628
"typescript": "^5.8.2",
2729
"vitest": "^3.0.8"

0 commit comments

Comments
 (0)