mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
chore: update packages metadata
This commit is contained in:
12
lefthook.yml
12
lefthook.yml
@@ -4,21 +4,17 @@ pre-commit:
|
||||
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
|
||||
run: bunx tsc --noEmit {files}
|
||||
format:
|
||||
files: git diff --name-only @{push}
|
||||
glob: '*.{js,ts}'
|
||||
run: npx prettier --check {files}
|
||||
run: bunx prettier --check {files}
|
||||
lint:
|
||||
files: git diff --name-only @{push}
|
||||
glob: '*.{js,ts}'
|
||||
run: npx eslint --cache {files}
|
||||
run: bunx eslint --cache {files}
|
||||
commit-msg:
|
||||
parallel: false
|
||||
commands:
|
||||
commitlint:
|
||||
run: npx commitlint --edit
|
||||
run: bunx commitlint --edit
|
||||
|
||||
Reference in New Issue
Block a user