* lefthook: move deps installs to optional local change * add test scenario for infinite retry and negative test * Add broken client for retry limit negative test and fix lefthook formatting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix www-authenticate in scope scenario * add suites and shift pending to reflect current pending * lint --------- Co-authored-by: Claude <noreply@anthropic.com>
29 lines
967 B
YAML
29 lines
967 B
YAML
# lefthook.yml
|
|
# Configuration reference: https://lefthook.dev/configuration/
|
|
|
|
assert_lefthook_installed: false
|
|
|
|
output:
|
|
- meta # Print lefthook version
|
|
- summary # Print summary block (successful and failed steps)
|
|
- empty_summary # Print summary heading when there are no steps to run
|
|
- success # Print successful steps
|
|
- failure # Print failed steps printing
|
|
- execution # Print any execution logs (but prints if the execution failed)
|
|
- execution_out # Print execution output (but still prints failed commands output)
|
|
- execution_info # Print `EXECUTE > ...` logging
|
|
- skips # Print "skip" (i.e. no files matched)
|
|
|
|
pre-push:
|
|
follow: true
|
|
parallel: true
|
|
jobs:
|
|
- name: 'Code Formatting'
|
|
run: npm run lint:fix_check
|
|
stage_fixed: true
|
|
fail_text: |
|
|
💡 To catch linting issues earlier, enable the pre-commit hook:
|
|
cp lefthook-local.example.yml lefthook-local.yml
|
|
|
|
- name: 'Test'
|
|
run: npm run test
|