We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e0e96b commit 62b7e77Copy full SHA for 62b7e77
packages/create-react-native-library/templates/common/lefthook.yml
@@ -2,11 +2,9 @@ pre-commit:
2
parallel: true
3
commands:
4
lint:
5
- files: git diff --name-only @{push}
6
glob: "*.{js,ts,jsx,tsx}"
7
- run: npx eslint {files}
+ run: npx eslint {staged_files}
8
types:
9
10
glob: "*.{js,ts, jsx, tsx}"
11
run: npx tsc --noEmit
12
commit-msg:
0 commit comments