Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Dec 21, 2023
1 parent b24169c commit d1c6b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Using `clang-format` and `clang-tidy` hooks with [pre-commit](https://pre-commit.com/) to lint your C/C++ code.

Highlight✨: No need to manually download and install `clang-format` or `clang-tidy` on your system.
Highlight✨: Automatically downloads a specific version of `clang-format` or `clang-tidy` and installs it on the system.

## Usage

Expand All @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`
```yaml
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: v0.2.1 # Use the ref you want to point at
rev: v0.2.5 # Use the ref you want to point at
hooks:
- id: clang-format
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
Expand Down

0 comments on commit d1c6b25

Please sign in to comment.