๐Ÿ“ฆ 25harsh / react-native-hyperswitch-scancard

๐Ÿ“„ lefthook.yml ยท 17 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17pre-commit:
  parallel: true
  commands:
    lint:
      files: git diff --name-only @{push}
      glob: "*.{js,ts,jsx,tsx}"
      run: npx eslint {files}
    types:
      files: git diff --name-only @{push}
      glob: "*.{js,ts, jsx, tsx}"
      run: npx tsc --noEmit
commit-msg:
  parallel: true
  commands:
    commitlint:
      run: npx commitlint --edit