Skip to content

Commit c9f77be

Browse files
committed
lets see
1 parent b615768 commit c9f77be

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.husky/pre-commit

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
yarn pre-commit
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
yarn pre-commit

app/[...missing].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default function NotFoundScreen() {
1111
<View style={styles.container}>
1212
<Text style={styles.title}>This screen doesn't exist.</Text>
1313
<Link href="/(tabs)/home" style={styles.link}>
14-
1514
<Text style={styles.linkText}>Go to home screen!</Text>
1615
</Link>
1716
</View>

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint": "eslint .",
1515
"lint:fix": "eslint . --fix",
1616
"pre-commit": "yarn type-check && yarn format && yarn lint:fix && yarn lint && yarn format-check",
17-
"prepare": "husky"
17+
"prepare": "husky && husky install"
1818
},
1919
"jest": {
2020
"preset": "jest-expo"
@@ -80,7 +80,8 @@
8080
"react-test-renderer": "18.2.0",
8181
"tailwindcss": "3.3.2",
8282
"ts-node": "^10.9.2",
83-
"typescript": "^5.3.0"
83+
"typescript": "^5.3.0",
84+
"husky": "^8.0.0"
8485
},
8586
"overrides": {
8687
"react-refresh": "~0.14.0"

0 commit comments

Comments
 (0)