mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 07:09:43 +03: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'.
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
|