• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

evilmartians / lefthook / 16163823236
76%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2025 08:05AM UTC
Jobs 6
Files 56
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2025 08:05AM UTC coverage: 75.111% (+0.03%) from 75.078%
16163823236

push

github

web-flow
feat: allow using local config only (#1071)

* Allow lefthook-local without lefthook

This allows using lefthook-local.yml without requiring a main lefthook.yml
file to be present. This is useful for developers who want to use lefthook
locally without imposing it on their teammates.

The implementation:
- Checks for local config files when main config loading fails
- Preserves existing error handling when neither config exists
- Maintains backward compatibility with existing behavior

Fixes #1070

Amp-Thread: https://ampcode.com/threads/T-8d5d41cf-8d3e-414d-9713-d23a566f99d5
Co-authored-by: Amp <amp@ampcode.com>

* docs: Update documentation for local config without main config

- Add note in configuration README about using local config standalone
- Update usage tips to mention local config can work without main config
- Clarifies the new capability for developers who want local-only configs

Amp-Thread: https://ampcode.com/threads/T-8d5d41cf-8d3e-414d-9713-d23a566f99d5
Co-authored-by: Amp <amp@ampcode.com>

* Suggest the *global* gitignore

---------

Co-authored-by: Amp <amp@ampcode.com>

9 of 9 new or added lines in 1 file covered. (100.0%)

3380 of 4500 relevant lines covered (75.11%)

3.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest - 16163823236.1 09 Jul 2025 08:06AM UTC 55
37.32
GitHub Action Run
2 integration-windows-latest - 16163823236.2 09 Jul 2025 08:06AM UTC 54
55.34
GitHub Action Run
3 windows-latest - 16163823236.3 09 Jul 2025 08:07AM UTC 55
37.17
GitHub Action Run
4 integration-ubuntu-latest - 16163823236.4 09 Jul 2025 08:06AM UTC 54
66.31
GitHub Action Run
5 ubuntu-latest - 16163823236.5 09 Jul 2025 08:05AM UTC 55
37.32
GitHub Action Run
6 integration-macos-latest - 16163823236.6 09 Jul 2025 08:06AM UTC 54
66.31
GitHub Action Run
Source Files on build 16163823236
  • Tree
  • List 56
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16163823236
  • 4fd484df on github
  • Prev Build on master (#16143960767)
  • Next Build on master (#16164177000)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc