We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99567b9 commit 0f18e7cCopy full SHA for 0f18e7c
.prettierrc.json
@@ -0,0 +1,6 @@
1
+{
2
+ "trailingComma": "es5",
3
+ "tabWidth": 4,
4
+ "semi": false,
5
+ "singleQuote": true
6
+}
package.json
@@ -11,6 +11,9 @@
11
"devDependencies": {
12
"@cloudflare/workers-types": "^4.20241216.0",
13
"@types/pg": "^8.11.10",
14
+ "husky": "^9.1.7",
15
+ "lint-staged": "^15.2.11",
16
+ "prettier": "3.4.2",
17
"typescript": "^5.7.2",
18
"wrangler": "^3.96.0"
19
},
@@ -23,5 +26,8 @@
23
26
"mysql2": "^3.11.4",
24
27
"node-sql-parser": "^4.18.0",
25
28
"pg": "^8.13.1"
- }
29
+ },
30
+ "lint-staged": {
31
+ "*.{ts,js}": "prettier --write --ignore-unknown"
32
+ }
33
}
0 commit comments