Skip to content
Merged
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To use cpp-linter-hooks, add the following configuration to your `.pre-commit-co
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v0.6.1 # Use the ref you want to point at
rev: v0.8.1 # Use the ref you want to point at
hooks:
- id: clang-format
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
Expand All @@ -36,7 +36,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v0.6.1
rev: v0.8.1
hooks:
- id: clang-format
args: [--style=file] # to load .clang-format
Expand All @@ -49,7 +49,7 @@ To use specific versions of [clang-tools](https://github.com/cpp-linter/clang-to
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v0.6.1
rev: v0.8.1
hooks:
- id: clang-format
args: [--style=file, --version=16] # Specifies version
Expand All @@ -63,7 +63,7 @@ repos:

```yaml
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v0.6.1
rev: v0.8.1
hooks:
- id: clang-format
args: [--style=file, --version=16]
Expand Down
Loading