summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CPPLINT.cfg4
-rw-r--r--PRESUBMIT.cfg1
2 files changed, 5 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=.*
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index c726f14214..eac83bb0c5 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