Skip to content

Commit 61cf437

Browse files
committed
docs: revise readme.md
1 parent ec3ab96 commit 61cf437

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ repos:
5858
```
5959

6060
> [!IMPORTANT]
61-
> If you run `pre-commit` longer than expected, highly suggest to add `files` in `hooks` to limit the scope of the hook. For example below:
61+
> If your `pre-commit` runs longer than expected, it is highly recommended to add `files` in `.pre-commit-config.yaml` to limit the scope of the hook. This helps improve performance by reducing the number of files being checked and avoids unnecessary processing. For example below:
62+
6263

6364
```yaml
6465
- repo: https://github.com/cpp-linter/cpp-linter-hooks

0 commit comments

Comments
 (0)