summaryrefslogtreecommitdiff
path: root/PRESUBMIT.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 /PRESUBMIT.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 'PRESUBMIT.cfg')
-rw-r--r--PRESUBMIT.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index b949d10c6d..09182f16b7 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -23,6 +23,7 @@ cros_license_check :
--exclude_regex=^third_party/unacl-curve25519/
[Hook Scripts]
+cros lint = cros lint ${PRESUBMIT_FILES}
presubmit_check = util/presubmit_check.sh
config_option_check = util/config_option_check.py
host_command_check = util/host_command_check.sh