summaryrefslogtreecommitdiff
path: root/CPPLINT.cfg
diff options
context:
space:
mode:
author William Escande <wescande@google.com> 2024-09-05 16:41:02 -0700
committer William Escande <wescande@google.com> 2024-09-05 23:51:46 +0000
commitc615aa5debe4e5eaf61a2cf463ce13a2249204e5 (patch)
tree1a47cd056d6afd0b4b165463ba8ca5adb5cb84dc /CPPLINT.cfg
parent8457b6fa43bf10ec1af2d8cad533a47ff73d51f9 (diff)
Cpplint bypass most common error
The following error will now be bypassed, awaiting for slow cleanup whitespace/newline: 105 whitespace/blank_line: 110 whitespace/ending_newline: 116 readability/check: 117 runtime/int: 152 runtime/string: 169 runtime/explicit: 198 readability/braces: 235 whitespace/braces: 258 build/c++11: 302 readability/todo: 309 readability/multiline_comment: 350 build/namespaces: 482 readability/inheritance: 484 build/header_guard: 535 runtime/references: 794 build/include_what_you_use: 997 build/include_subdir: 1527 readability/casting: 2401 The following error are still present and need to be fixed build/explicit_make_pair: 1 whitespace/tab: 1 build/namespaces_literals: 2 readability/fn_size: 2 readability/namespace: 3 readability/nolint: 4 build/storage_class: 6 readability/multiline_string: 6 runtime/init: 7 whitespace/todo: 9 whitespace/comments: 13 build/namespaces_headers: 18 runtime/threadsafe_fn: 22 whitespace/line_length: 22 runtime/printf: 24 runtime/arrays: 26 whitespace/semicolon: 27 readability/alt_tokens: 28 legal/copyright: 31 build/include: 37 whitespace/operators: 39 build/include_order: 44 whitespace/parens: 45 whitespace/comma: 65 Bug: 311772251 Bug: 364967694 Test: None Flag: Exempt dev tools Change-Id: I4e6565151085c5924c89ee37fab2748b609d4f5a
Diffstat (limited to 'CPPLINT.cfg')
-rw-r--r--CPPLINT.cfg41
1 files changed, 40 insertions, 1 deletions
diff --git a/CPPLINT.cfg b/CPPLINT.cfg
index 5adad3e1d7..cc062661c7 100644
--- a/CPPLINT.cfg
+++ b/CPPLINT.cfg
@@ -2,4 +2,43 @@ set noparent
linelength=100
# Do not check access modifier indentation.
# CPPLint enforces +1, but our rule is no indentation.
-filter=-whitespace/indent \ No newline at end of file
+filter=-whitespace/indent
+
+# TODO: b/364967694 re-enable the warning
+filter=-whitespace/newline
+# TODO: b/364967694 re-enable the warning
+filter=-whitespace/blank_line
+# TODO: b/364967694 re-enable the warning
+filter=-whitespace/ending_newline
+# TODO: b/364967694 re-enable the warning
+filter=-readability/check
+# TODO: b/364967694 re-enable the warning
+filter=-runtime/int
+# TODO: b/364967694 re-enable the warning
+filter=-runtime/string
+# TODO: b/364967694 re-enable the warning
+filter=-runtime/explicit
+# TODO: b/364967694 re-enable the warning
+filter=-readability/braces
+# TODO: b/364967694 re-enable the warning
+filter=-whitespace/braces
+# TODO: b/364967694 re-enable the warning
+filter=-build/c++11
+# TODO: b/364967694 re-enable the warning
+filter=-readability/todo
+# TODO: b/364967694 re-enable the warning
+filter=-readability/multiline_comment
+# TODO: b/364967694 re-enable the warning
+filter=-build/namespaces
+# TODO: b/364967694 re-enable the warning
+filter=-readability/inheritance
+# TODO: b/364967694 re-enable the warning
+filter=-build/header_guard
+# TODO: b/364967694 re-enable the warning
+filter=-runtime/references
+# TODO: b/364967694 re-enable the warning
+filter=-build/include_what_you_use
+# TODO: b/364967694 re-enable the warning
+filter=-build/include_subdir
+# TODO: b/364967694 re-enable the warning
+filter=-readability/casting