mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-13 18:00:40 +00:00
51bcfb5a44
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'.
7 lines
200 B
YAML
7 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
|