Skip to content

Commit 17cad28

Browse files
authored
[Infrastructure] Add pre-commit hook for cpplint (#10609)
1 parent b2807a3 commit 17cad28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ repos:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- repo: https://github.com/pre-commit/mirrors-clang-format
10-
rev: "v18.1.3" # clang-format version
10+
rev: v18.1.3 # clang-format version
1111
hooks:
1212
- id: clang-format
13+
- repo: https://github.com/cpplint/cpplint
14+
rev: 2.0.0
15+
hooks:
16+
- id: cpplint

0 commit comments

Comments
 (0)