From d3d92de3b6e9e1ff2a4ce4ee735c7b442b09cc47 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Thu, 1 Oct 2026 01:59:50 +0300 Subject: [PATCH] docs: update the cpp-linter-hooks examples to v1.6.1 --- docs/blog/posts/2026-09-12-moving-to-cpp-linter.md | 2 +- docs/blog/posts/2026-09-12-one-clang-version-everywhere.md | 2 +- docs/blog/posts/2026-09-20-clang-format-pre-commit-hook.md | 2 +- .../posts/2026-09-20-clang-tidy-pull-requests-github-actions.md | 2 +- docs/getting-started.md | 2 +- docs/why-cpp-linter.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/blog/posts/2026-09-12-moving-to-cpp-linter.md b/docs/blog/posts/2026-09-12-moving-to-cpp-linter.md index 06e4714..3b46d9a 100644 --- a/docs/blog/posts/2026-09-12-moving-to-cpp-linter.md +++ b/docs/blog/posts/2026-09-12-moving-to-cpp-linter.md @@ -145,7 +145,7 @@ exists: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-format args: [--style=file, --version=21] diff --git a/docs/blog/posts/2026-09-12-one-clang-version-everywhere.md b/docs/blog/posts/2026-09-12-one-clang-version-everywhere.md index bbd3532..56f2aa7 100644 --- a/docs/blog/posts/2026-09-12-one-clang-version-everywhere.md +++ b/docs/blog/posts/2026-09-12-one-clang-version-everywhere.md @@ -53,7 +53,7 @@ argument: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-format args: [--style=file, --version=21] diff --git a/docs/blog/posts/2026-09-20-clang-format-pre-commit-hook.md b/docs/blog/posts/2026-09-20-clang-format-pre-commit-hook.md index cbf94a0..5e44bd2 100644 --- a/docs/blog/posts/2026-09-20-clang-format-pre-commit-hook.md +++ b/docs/blog/posts/2026-09-20-clang-format-pre-commit-hook.md @@ -54,7 +54,7 @@ Add the hook to the repository: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-format args: [--style=file, --version=21] diff --git a/docs/blog/posts/2026-09-20-clang-tidy-pull-requests-github-actions.md b/docs/blog/posts/2026-09-20-clang-tidy-pull-requests-github-actions.md index 5ffd258..d94ba19 100644 --- a/docs/blog/posts/2026-09-20-clang-tidy-pull-requests-github-actions.md +++ b/docs/blog/posts/2026-09-20-clang-tidy-pull-requests-github-actions.md @@ -247,7 +247,7 @@ findings never reach the pull request: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-tidy args: [--checks=.clang-tidy, --version=21] diff --git a/docs/getting-started.md b/docs/getting-started.md index ce11673..cd43001 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -71,7 +71,7 @@ pip-install the clang-format and clang-tidy version you pin: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-format args: [--style=file, --version=21] diff --git a/docs/why-cpp-linter.md b/docs/why-cpp-linter.md index 7257eee..2d7bd8d 100644 --- a/docs/why-cpp-linter.md +++ b/docs/why-cpp-linter.md @@ -164,7 +164,7 @@ annotations only; if most of yours come from forks, stay with the split workflow ```yaml title="After" - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.6.0 + rev: v1.6.1 hooks: - id: clang-format args: [--style=file, --version=21]