Skip to content

Commit fcc5d65

Browse files
Copilotshenxianpeng
andcommitted
Update README examples to use latest version v1.1.1 consistently
Co-authored-by: shenxianpeng <[email protected]>
1 parent d30995c commit fcc5d65

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
3131
```yaml
3232
repos:
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.1 # 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
4747
repos:
4848
- repo: https://github.com/cpp-linter/cpp-linter-hooks
49-
rev: v1.1.0
49+
rev: v1.1.1
5050
hooks:
5151
- id: clang-format
5252
args: [--style=file] # Loads style from .clang-format file
@@ -61,7 +61,7 @@ To use specific versions of clang-format and clang-tidy (using Python wheel pack
6161
```yaml
6262
repos:
6363
- repo: https://github.com/cpp-linter/cpp-linter-hooks
64-
rev: v1.1.0
64+
rev: v1.1.1
6565
hooks:
6666
- id: clang-format
6767
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.1
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
178178
repos:
179179
- repo: https://github.com/cpp-linter/cpp-linter-hooks
180-
rev: v1.1.0
180+
rev: v1.1.1
181181
hooks:
182182
- id: clang-format
183183
args: [--style=file, --version=21, --verbose] # Add -v or --verbose for detailed output

0 commit comments

Comments
 (0)