main
 1pre-commit:
 2  parallel: true
 3  commands:
 4    format:
 5      glob: '*.{js,ts,md,yml,yaml}'
 6      run: npm run fmt && git add {staged_files}
 7
 8commit-msg:
 9  commands:
10    lint-commit-msg:
11      run: npx commitlint --edit
12
13pre-push:
14  parallel: true
15  commands:
16    license:
17      run: npm run test:license
18    size:
19      run: npm run test:size
20    circular:
21      run: npm run test:circular