-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCPPLINT.cfg
More file actions
19 lines (18 loc) · 902 Bytes
/
CPPLINT.cfg
File metadata and controls
19 lines (18 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
filter=-legal/copyright,-whitespace/braces
linelength=120
root=knp
# - Do not check access modifier indentation.
# CPPLint enforces +1, but our rule is no indentation.
# - Do not check NOLINT* directives.
# NOLINT is used by clang-tidy.
# - Don't check TODO format.
# // TODO(my_username): Stuff.
# - Don't check includes subdirectories.
# Allow includes like "common.h".
# - Sometimes non-const references more preferable than pointers.
# Is this a non-const reference? If so, make const or use a pointer: PopulationType &population.
# - build/c++11 - don't check headers blacklisted by Google.
# Chromium team uses own headers instead of standard.
# - whitespace/newline
# An else should appear on the same line as the preceding }
filter=-whitespace/indent,-readability/nolint,-readability/todo,-build/include_subdir,-runtime/references,-build/c++11,-whitespace/newline,-build/namespaces