-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
CPPLINT.cfg
70 lines (59 loc) · 1.86 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Cpplint is a command-line tool to check C/C++ files for style issues following Google's C++ style guide.
# https://github.com/cpplint/cpplint
#
# Type the command below for details about supported options in CPPLINT.cfg.
# > cpplint --help
#
# Do not look for additional CPPLINT.cfg in the parent directories.
set noparent
root=.
extensions=cpp,hpp,c,h
# Limit line length.
linelength=120
# Adjust the following error categories as specified by the filter:
# (filter parameters are concatenated together)
# `build` rules
# Enable 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 F´, the minimum supported platforms are potentially not
# new enough to afford to do without this warning.
filter=+build/c++11
# F´ uses `#ifndef FOO_H` guard not the `#pragma once`.
filter=-build/pragma_once
# Do not enforce including header files in both .h and .cpp.
filter=-build/header_guard
filter=-build/include
filter=-build/include_alpha
filter=-build/include_order
filter=-build/include_subdir
filter=-build/include_what_you_use
filter=-build/namespaces
filter=-legal/copyright
filter=-readability/braces
filter=-readability/casting
filter=-readability/namespace
filter=-readability/todo
filter=-runtime/indentation_namespace
filter=-runtime/int
filter=-runtime/references
filter=-whitespace/blank_line
filter=-whitespace/braces
filter=-whitespace/comma
filter=-whitespace/comments
filter=-whitespace/end_of_line
filter=-whitespace/indent
filter=-whitespace/line_length
filter=-whitespace/newline
filter=-whitespace/operators
filter=-whitespace/parens
filter=-whitespace/tab
# There is no need for lint-gardening in the documentation.
exclude_files=Autocoders
exclude_files=ci
exclude_files=cmake
exclude_files=docs
exclude_files=Fpp
exclude_files=FppTest
exclude_files=gtest
exclude_files=build-fprime-automatic-*