-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCPPLINT.cfg
31 lines (23 loc) · 936 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
# Adapted from drake's configuration file (link below)
# https://github.com/RobotLocomotion/drake/blob/master/CPPLINT.cfg
# Disable a warning about C++ features that were not in the original
# C++11 specification (and so might not be well-supported). In the
# case of Drake, our supported minimum platforms are new enough that
# this warning is irrelevant.
filter=-build/c++11
# We use '#pragma once' instead of include-guards
filter=-build/header_guard
filter=+build/pragma_once
# Disable include-order (we'll not be so picky for now)
filter=-build/include_order
# Remove the legal thingy
filter=-legal/copyright
# Don't be so strict with some types of whitespaces warnings
filter=-whitespace/blank_line
filter=-whitespace/indent_namespace
# Allow using non-const references for input arguments
filter=-runtime/references
# Ignore third-party dependencies
exclude_files=third_party
# Ignore legacy folder
exclude_files=legacy