# Per-project `repo upload` hook settings | |
[Hook Scripts] | |
cros lint = cros lint ${PRESUBMIT_FILES} | |
[Hook Overrides] | |
stray_whitespace_check: true | |
[Hook Overrides Options] | |
# This whitespace check isn't Golang-aware (e.g., for string literals). Just | |
# rely on cros lint. | |
stray_whitespace_check: --exclude_regex=\.go$ | |
# Sample config files include comments. | |
json_check: --exclude_regex=sample_config/.*.json$ |