summaryrefslogtreecommitdiff
path: root/CPPLINT.cfg
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-02-07 13:12:56 -0800
committerCommit Bot <commit-bot@chromium.org>2022-02-08 18:05:48 +0000
commitb294077eed6da053eeca07ce5546830d5404c9a1 (patch)
treeae3bfc40fad5a9133a8412ab5fb1abd39085c07c /CPPLINT.cfg
parent9b32fab31221d18e6d7c295506d83fae048fe492 (diff)
downloadchrome-ec-b294077eed6da053eeca07ce5546830d5404c9a1.tar.gz
Enable "cros lint" presubmit check
The cpplint check run by cros lint is disabled with the CPPLINT.cfg file since it doesn't apply. Other linters, such as Python and Shell are applicable and will be run. BRANCH=none BUG=b:217969201 TEST=none Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Ie9aba283d7bf927913ff834c586ec9e8d0e9e9a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3444587 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'CPPLINT.cfg')
-rw-r--r--CPPLINT.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/CPPLINT.cfg b/CPPLINT.cfg
new file mode 100644
index 0000000000..d260909910
--- /dev/null
+++ b/CPPLINT.cfg
@@ -0,0 +1,4 @@
+set noparent
+# Disable cpplint, since EC is a C project that follows Linux kernel style.
+# cpplint is called by "cros lint".
+exclude_files=.*