mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
This should speed up pre-commit a bit as only files that are staged will be processed, and clang-format and shellcheck are only invoked once, not for every file. When no arguments are given (e.g. on CI), it still uses 'git ls-files'.
8 lines
200 B
YAML
8 lines
200 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: meta-lint-ci
|
|
name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI
|
|
entry: bash Meta/lint-ci.sh
|
|
language: system
|