upstream #1
@@ -0,0 +1 @@
|
|||||||
|
_
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no-install lint-staged
|
||||||
Generated
+9301
-16
File diff suppressed because it is too large
Load Diff
+2
-6
@@ -7,7 +7,8 @@
|
|||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build && node ./scripts/generate-sitemap",
|
"build": "next build && node ./scripts/generate-sitemap",
|
||||||
"serve": "next start",
|
"serve": "next start",
|
||||||
"analyze": "env ANALYZE=true next build"
|
"analyze": "env ANALYZE=true next build",
|
||||||
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mapbox/rehype-prism": "^0.5.0",
|
"@mapbox/rehype-prism": "^0.5.0",
|
||||||
@@ -60,11 +61,6 @@
|
|||||||
"unified": "9.2.1",
|
"unified": "9.2.1",
|
||||||
"unist-util-visit": "2.0.3"
|
"unist-util-visit": "2.0.3"
|
||||||
},
|
},
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "lint-staged"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.+(js|jsx|ts|tsx)": [
|
"*.+(js|jsx|ts|tsx)": [
|
||||||
"eslint --fix"
|
"eslint --fix"
|
||||||
|
|||||||
Reference in New Issue
Block a user