Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/m-kuhn/vcpkg-pre-commit
rev: v0.1.0
hooks:
- id: vcpkg-format
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ Enable registries feature flag in vcpkg and write a vcpkg-configuration.json fil
## Contributions

Contributions are very welcome 👋

### Using pre-commit hook to automatically format files

Install and enable pre-commit in your local git clone to automatically
have manifest files formatted whenever you `git commit` something.

```console
pip install pre-commit
pre-commit install
```