mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 05:46:16 +00:00
25 lines
744 B
YAML
Executable File
25 lines
744 B
YAML
Executable File
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
types:
|
|
files: git diff --name-only @{push}
|
|
glob: '*.{js,ts}'
|
|
run: npx tsc --noEmit
|
|
types_example:
|
|
files: git diff --name-only @{push}
|
|
glob: '*.{js,ts}'
|
|
run: npx tsc --project example/tsconfig.json --noEmit
|
|
format:
|
|
files: git diff --name-only @{push}
|
|
glob: '*.{js,ts}'
|
|
run: npx prettier --check {files}
|
|
lint:
|
|
files: git diff --name-only @{push}
|
|
glob: '*.{js,ts}'
|
|
run: npx eslint --cache {files}
|
|
commit-msg:
|
|
parallel: false
|
|
commands:
|
|
commitlint:
|
|
run: npx commitlint --edit
|