Skip to content

Commit

Permalink
lets see
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-g09 committed Jun 19, 2024
1 parent b615768 commit c9f77be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
yarn pre-commit
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn pre-commit
1 change: 0 additions & 1 deletion app/[...missing].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default function NotFoundScreen() {
<View style={styles.container}>
<Text style={styles.title}>This screen doesn't exist.</Text>
<Link href="/(tabs)/home" style={styles.link}>

<Text style={styles.linkText}>Go to home screen!</Text>
</Link>
</View>
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pre-commit": "yarn type-check && yarn format && yarn lint:fix && yarn lint && yarn format-check",
"prepare": "husky"
"prepare": "husky && husky install"
},
"jest": {
"preset": "jest-expo"
Expand Down Expand Up @@ -80,7 +80,8 @@
"react-test-renderer": "18.2.0",
"tailwindcss": "3.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.0"
"typescript": "^5.3.0",
"husky": "^8.0.0"
},
"overrides": {
"react-refresh": "~0.14.0"
Expand Down

0 comments on commit c9f77be

Please sign in to comment.