@@ -29,7 +29,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
29
29
``` yaml
30
30
repos :
31
31
- repo : https://github.com/cpp-linter/cpp-linter-hooks
32
- rev : v0.8.1 # Use the tag or commit you want
32
+ rev : v0.8.3 # Use the tag or commit you want
33
33
hooks :
34
34
- id : clang-format
35
35
args : [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
@@ -44,7 +44,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
44
44
` ` ` yaml
45
45
repos:
46
46
- repo: https://github.com/cpp-linter/cpp-linter-hooks
47
- rev: v0.8.1
47
+ rev: v0.8.3
48
48
hooks:
49
49
- id: clang-format
50
50
args: [--style=file] # Loads style from .clang-format file
@@ -59,7 +59,7 @@ To use specific versions of [clang-tools](https://github.com/cpp-linter/clang-to
59
59
` ` ` yaml
60
60
repos:
61
61
- repo: https://github.com/cpp-linter/cpp-linter-hooks
62
- rev: v0.8.1
62
+ rev: v0.8.3
63
63
hooks:
64
64
- id: clang-format
65
65
args: [--style=file, --version=18] # Specifies version
@@ -146,7 +146,7 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
146
146
147
147
` ` ` yaml
148
148
- repo: https://github.com/cpp-linter/cpp-linter-hooks
149
- rev: v0.8.1
149
+ rev: v0.8.3
150
150
hooks:
151
151
- id: clang-format
152
152
args: [--style=file, --version=18]
@@ -172,7 +172,7 @@ This approach ensures that only modified files are checked, further speeding up
172
172
` ` ` yaml
173
173
repos:
174
174
- repo: https://github.com/cpp-linter/cpp-linter-hooks
175
- rev: v0.8.1
175
+ rev: v0.8.3
176
176
hooks:
177
177
- id: clang-format
178
178
args: [--style=file, --version=18, --verbose] # Add -v or --verbose for detailed output
0 commit comments