Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-format
args: [--style=file]
Expand Down Expand Up @@ -214,7 +214,7 @@ See [Performance optimization](https://github.com/cpp-linter/cpp-linter-hooks#pe
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2 # includes --fix support
rev: v1.8.3 # includes --fix support
hooks:
- id: clang-tidy
args: [--fix]
Expand All @@ -237,7 +237,7 @@ repository root works too.
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-tidy
# Auto-detects ./build/compile_commands.json if present
Expand Down Expand Up @@ -292,7 +292,7 @@ Three self-contained templates plus quick snippets for other common setups.

```yaml
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-format
args: [--style=file]
Expand All @@ -306,7 +306,7 @@ or `-j`:

```yaml
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-tidy
args: [--jobs=4]
Expand Down Expand Up @@ -343,7 +343,7 @@ This approach ensures that only modified files are checked, further speeding up
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-format
args: [--style=file, --verbose] # Shows processed files
Expand Down
2 changes: 1 addition & 1 deletion examples/cmake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you already have a CMake project, you need **three files**:
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-format
args: [--style=file]
Expand Down
2 changes: 1 addition & 1 deletion examples/meson/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ database.
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v1.8.2
rev: v1.8.3
hooks:
- id: clang-format
args: [--style=file]
Expand Down
Loading