Skip to content

Commit 55c7430

Browse files
chore: fix commit hooks
1 parent b1e279d commit 55c7430

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

.husky/commit-msg

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn commitlint -E HUSKY_GIT_PARAMS
4+
npx --no -- commitlint --edit "${1}"

.husky/pre-commit

100644100755
File mode changed.

tsconfig.base.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "./",
4+
"paths": {
5+
"@th3rdwave/react-navigation-bottom-sheet": ["./src/index"]
6+
},
7+
"allowUnreachableCode": false,
8+
"allowUnusedLabels": false,
9+
"esModuleInterop": true,
10+
"importsNotUsedAsValues": "error",
11+
"forceConsistentCasingInFileNames": true,
12+
"jsx": "react",
13+
"lib": ["esnext"],
14+
"module": "esnext",
15+
"moduleResolution": "node",
16+
"noFallthroughCasesInSwitch": true,
17+
"noImplicitReturns": true,
18+
"noImplicitUseStrict": false,
19+
"noStrictGenericChecks": false,
20+
"noUnusedLocals": true,
21+
"noUnusedParameters": true,
22+
"resolveJsonModule": true,
23+
"skipLibCheck": true,
24+
"strict": true,
25+
"target": "esnext"
26+
}
27+
}

tsconfig.build.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

tsconfig.json

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
1+
12
{
2-
"compilerOptions": {
3-
"baseUrl": "./",
4-
"paths": {
5-
"@th3rdwave/react-navigation-bottom-sheet": ["./src/index"]
6-
},
7-
"allowUnreachableCode": false,
8-
"allowUnusedLabels": false,
9-
"esModuleInterop": true,
10-
"importsNotUsedAsValues": "error",
11-
"forceConsistentCasingInFileNames": true,
12-
"jsx": "react",
13-
"lib": ["esnext"],
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"noFallthroughCasesInSwitch": true,
17-
"noImplicitReturns": true,
18-
"noImplicitUseStrict": false,
19-
"noStrictGenericChecks": false,
20-
"noUnusedLocals": true,
21-
"noUnusedParameters": true,
22-
"resolveJsonModule": true,
23-
"skipLibCheck": true,
24-
"strict": true,
25-
"target": "esnext"
26-
}
3+
"extends": "./tsconfig.base",
4+
"exclude": ["example"]
275
}

0 commit comments

Comments
 (0)