From da568336f9e6e8fd730fb04a4fed20992e1b0e6d Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 8 Jun 2026 20:02:32 +0300 Subject: [PATCH 1/3] docs: add back-navigation link and standardize Used By section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add '← Back to cpp-linter hub' link near top of README (#10) - Add link to hub site from 'Used By' section (#9) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d23af1e..8fcbfe7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ [![Test](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml) [![CodeQL](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml) +> 🏠 [← Back to cpp-linter hub](https://cpp-linter.github.io/) + A pre-commit hook repository for C/C++ projects that installs and runs `clang-format` and `clang-tidy` through the [pre-commit](https://pre-commit.com/) framework. @@ -322,6 +324,8 @@ Two self-contained templates plus quick snippets for other common setups. ![IMSY-DKFZ](https://github.com/IMSY-DKFZ.png?size=20) IMSY-DKFZ and [many more](https://github.com/search?q=repo%3A%20https%3A%2F%2Fgithub.com%2Fcpp-linter%2Fcpp-linter-hooks&type=code). +See the [cpp-linter hub](https://cpp-linter.github.io/) for the full list of organizations using cpp-linter tools. + ## FAQ ### What's the difference between [`cpp-linter-hooks`](https://github.com/cpp-linter/cpp-linter-hooks) and [`mirrors-clang-format`](https://github.com/pre-commit/mirrors-clang-format)? From 79175f8eeae77b08b3093054833a614d77bf2728 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 8 Jun 2026 20:22:27 +0300 Subject: [PATCH 2/3] docs: use shields.io badge for back-navigation link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fcbfe7..9a071ae 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Test](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml) [![CodeQL](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml) -> 🏠 [← Back to cpp-linter hub](https://cpp-linter.github.io/) +> [![cpp-linter hub](https://img.shields.io/badge/%F0%9F%8F%A0_cpp--linter_hub-%E2%86%90_home-22863a)](https://cpp-linter.github.io/) A pre-commit hook repository for C/C++ projects that installs and runs `clang-format` and `clang-tidy` through the From 88e10036103af8993b7edbc21d3524c52067cc47 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Tue, 9 Jun 2026 07:47:50 +0300 Subject: [PATCH 3/3] Fix badge duplication in README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a071ae..9fbb060 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,7 @@ [![codecov](https://codecov.io/gh/cpp-linter/cpp-linter-hooks/branch/main/graph/badge.svg?token=L74Z3HZ4Y5)](https://codecov.io/gh/cpp-linter/cpp-linter-hooks) [![Test](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/test.yml) [![CodeQL](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-hooks/actions/workflows/codeql.yml) - -> [![cpp-linter hub](https://img.shields.io/badge/%F0%9F%8F%A0_cpp--linter_hub-%E2%86%90_home-22863a)](https://cpp-linter.github.io/) +[![cpp-linter hub](https://img.shields.io/badge/%F0%9F%8F%A0_cpp--linter_hub-%E2%86%90_home-22863a)](https://cpp-linter.github.io/) A pre-commit hook repository for C/C++ projects that installs and runs `clang-format` and `clang-tidy` through the