File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Modified from https://github.com/ament/ament_lint/blob/ebd524bb9973d5ec1dc48a670ce54f958a5a0243/ament_cpplint/ament_cpplint/main.py#L64-L120
2
+ set noparent
3
+ linelength =100
4
+ includeorder =standardcfirst
5
+ filter =-build/c++11 # we do allow C++11
6
+ filter =-build/namespaces_literals # we allow using namespace for literals
7
+ filter =-runtime/references # we consider passing non-const references to be ok
8
+ filter =-whitespace/braces # we wrap open curly braces for namespaces, classes and functions
9
+ filter =-whitespace/indent # we don't indent keywords like public, protected and private with one space
10
+ filter =-whitespace/parens # we allow closing parenthesis to be on the next line
11
+ filter =-whitespace/semicolon # we allow the developer to decide about whitespace after a semicolon
12
+ filter =-build/header_guard # we automatically fix the names of header guards using pre-commit
13
+ filter =-build/include_order # we use the custom include order
14
+ filter =-build/include_subdir # we allow the style of "foo.hpp"
You can’t perform that action at this time.
0 commit comments