We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75ebe14 + dd956bd commit 0d12425Copy full SHA for 0d12425
3 files changed
.husky/pre-commit
@@ -0,0 +1 @@
1
+pnpm exec lint-staged
package.json
@@ -7,9 +7,13 @@
7
"build": "astro build",
8
"preview": "astro preview",
9
"astro": "astro",
10
+ "prepare": "husky",
11
"format": "prettier . --write",
12
"lint": "eslint . --fix"
13
},
14
+ "lint-staged": {
15
+ "*": "prettier --ignore-unknown --write"
16
+ },
17
"dependencies": {
18
"@astrojs/react": "5.0.5",
19
"@astrojs/sitemap": "3.7.2",
@@ -29,6 +33,8 @@
29
33
"eslint-plugin-n": "18.0.1",
30
34
"eslint-plugin-promise": "7.3.0",
31
35
"globals": "17.6.0",
36
+ "husky": "9.1.7",
37
+ "lint-staged": "17.0.5",
32
38
"prettier": "3.8.3"
39
}
40
0 commit comments