-
Notifications
You must be signed in to change notification settings - Fork 17
/
CPPLINT.cfg
34 lines (26 loc) · 1008 Bytes
/
CPPLINT.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#######################################################
# CPPLINT.cfg
#######################################################
# Increase the max number of characters on a given line
linelength=250
# List of filters to apply
filter=-legal/copyright
# Suppress the warning for unapproved C++11 headers
# Required for "<thread> is an unapproved C++11 header"
filter=-build/c++11
# Disable the build/include_order check
# Required for #include "rogue/Directives.h" to be at start
filter=-build/include_order
# Disable the build/header_guard check
# Note changing header guard has wrong style
# E.g. from __ROGUE_UTILITIES_FILEIO_MODULE_H__ to INCLUDE_ROGUE_UTILITIES_MODULE_H_
filter=-build/header_guard
# Disable whitespace/indent check
# private/public: indent will be based on .clang-format format"
filter=-whitespace/indent
# Disable runtime/arrays
# TODO: We should fix in the future
filter=-runtime/arrays
# Disable runtime/references
# TODO: We should fix in the future
filter=-runtime/references