Skip to content

Commit 91f8b46

Browse files
authored
docs: update version to v1.1.11 in README.md (#156)
1 parent 3f5999d commit 91f8b46

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 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.8 # Use the tag or commit you want
34+
rev: v1.1.11 # 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.8
49+
rev: v1.1.11
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
6565
repos:
6666
- repo: https://github.com/cpp-linter/cpp-linter-hooks
67-
rev: v1.1.8
67+
rev: v1.1.11
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.8
154+
rev: v1.1.11
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.8
180+
rev: v1.1.11
181181
hooks:
182182
- id: clang-format
183183
args: [--style=file, --version=21, --verbose] # Add -v or --verbose for detailed output
@@ -189,11 +189,13 @@ repos:
189189

190190
| Feature | `cpp-linter-hooks` | `mirrors-clang-format` |
191191
|----------------------------------|-------------------------------------------|----------------------------------------|
192-
| Supports `clang-format` and `clang-tidy` | ✅ (`clang-format` & `clang-tidy`) | ✅ (`clang-format` only) |
193-
| Loads style configuration | ✅ via `--version` | ✅ (default behavior) |
194-
| Specify `clang-format` version | ✅ via `--version` | ✅ via `rev` |
195-
| Supports passing code string | ✅ via `--style` | ❌ |
196-
| Verbose output | ✅ via `--verbose` | ❌ |
192+
| Supports `clang-format` and `clang-tidy` | ✅ (`clang-format` & `clang-tidy`)| ✅ (`clang-format` only) |
193+
| Custom configuration files | ✅ `.clang-format`, `.clang-tidy` | ✅ `.clang-format` |
194+
| Specify `clang-format` and `clang-tidy` version | ✅ via `--version` | ✅ via `rev` |
195+
| Supports passing format style string | ✅ via `--style` | ❌ |
196+
| Verbose output | ✅ via `--verbose` | ❌ |
197+
| Dry-run mode | ✅ via `--dry-run` | ❌ |
198+
197199

198200
<!-- > [!TIP]
199201
> In most cases, there is no significant performance difference between `cpp-linter-hooks` and `mirrors-clang-format`. See the [benchmark results](testing/benchmark.md) for details. -->

0 commit comments

Comments
 (0)