Skip to content

Commit e89583a

Browse files
committed
docs: add tip for pinning tool version in README.md
1 parent b29757a commit e89583a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ repos:
7272
args: [--checks=.clang-tidy, --version=21] # Specifies version
7373
```
7474

75+
> [!TIP]
76+
> For production use, always pin the tool version explicitly with `--version` (e.g. `--version=21`) so upgrades to `cpp-linter-hooks` never silently change your linter version.
77+
7578
## Output
7679

7780
### clang-format Output

0 commit comments

Comments
 (0)