Skip to content

Commit

Permalink
[tools] Disable cpplint's build/include checks (#22264)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnimmer-tri authored Dec 4, 2024
1 parent 7b5a831 commit f4c19e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CPPLINT.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ filter=+build/pragma_once
# Disable cpplint's include order. We have our own via //tools:drakelint.
filter=-build/include_order

# Disable cpplint's check to include the h file atop the cc file (along with
# some other, even less relevant checks). Given the layout of bazel's runfiles
# during linting and our include path customizations, cpplint yields false
# positives because it's unable to discern the root of our include path.
filter=-build/include

# We do not care about the whitespace details of a TODO comment. It is not
# relevant for easy grepping, and the GSG does not specify any particular
# whitespace style. (We *do* care what the "TODO(username)" itself looks like
Expand Down

0 comments on commit f4c19e7

Please sign in to comment.