mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Linus Groh](/assets/img/avatar_default.png)
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
|