15 lines
274 B
YAML
15 lines
274 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
glob: "*.{js,ts,jsx,tsx}"
|
|
run: npx eslint {staged_files}
|
|
types:
|
|
glob: "*.{js,ts, jsx, tsx}"
|
|
run: npx tsc
|
|
commit-msg:
|
|
parallel: true
|
|
commands:
|
|
commitlint:
|
|
run: npx commitlint --edit
|