@@ -31,7 +31,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
3131``` yaml
3232repos :
3333 - repo : https://github.com/cpp-linter/cpp-linter-hooks
34- rev : v1.1.0 # Use the tag or commit you want
34+ rev : v1.1.2 # Use the tag or commit you want
3535 hooks :
3636 - id : clang-format
3737 args : [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
@@ -46,7 +46,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
4646` ` ` yaml
4747repos:
4848 - repo: https://github.com/cpp-linter/cpp-linter-hooks
49- rev: v1.1.0
49+ rev: v1.1.2
5050 hooks:
5151 - id: clang-format
5252 args: [--style=file] # Loads style from .clang-format file
@@ -64,7 +64,7 @@ To use specific versions of clang-format and clang-tidy (using Python wheel pack
6464` ` ` yaml
6565repos:
6666 - repo: https://github.com/cpp-linter/cpp-linter-hooks
67- rev: v1.1.0
67+ rev: v1.1.2
6868 hooks:
6969 - id: clang-format
7070 args: [--style=file, --version=21] # Specifies version
@@ -151,7 +151,7 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
151151
152152` ` ` yaml
153153- repo: https://github.com/cpp-linter/cpp-linter-hooks
154- rev: v1.1.0
154+ rev: v1.1.2
155155 hooks:
156156 - id: clang-format
157157 args: [--style=file, --version=21]
@@ -177,7 +177,7 @@ This approach ensures that only modified files are checked, further speeding up
177177` ` ` yaml
178178repos:
179179 - repo: https://github.com/cpp-linter/cpp-linter-hooks
180- rev: v1.1.0
180+ rev: v1.1.2
181181 hooks:
182182 - id: clang-format
183183 args: [--style=file, --version=21, --verbose] # Add -v or --verbose for detailed output
0 commit comments