0

add CPPLINT.cfg

This is to disable include order check in cpplint and let clang-format
sort includes instead.

This is preparation CL of NOLINT comments removal in
https://crrev.com/c/5432839.

Bug: 329138753
Change-Id: Ied606affdab2336da88a2a21c8e0f7cd8b5d1aec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5445529
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286530}
This commit is contained in:
Takuto Ikuta 2024-04-12 16:29:21 +00:00 committed by Chromium LUCI CQ
parent d54a3ab7cb
commit ebd1f2476d
2 changed files with 10 additions and 0 deletions

9
CPPLINT.cfg Normal file

@ -0,0 +1,9 @@
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# See https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:cpplint.py
# about this configuration file.
# Include order should be caught by clang-format.
filter=-build/include_order

1
OWNERS

@ -29,6 +29,7 @@ per-file BUILD.gn=file://build/OWNERS
per-file CODE_OF_CONDUCT.md=dpranke@google.com
per-file CODE_OF_CONDUCT.md=benhenry@chromium.org
per-file CODE_OF_CONDUCT.md=ellyjones@chromium.org
per-file CPPLINT.cfg=file://styleguide/c++/OWNERS
per-file DEPS=*
per-file PRESUBMIT*.py=agrieve@chromium.org # For .pydeps changes
per-file PRESUBMIT*.py=brucedawson@chromium.org