From c96bd24ccaa49d6ba83abcd068e86b2daa4f8fa7 Mon Sep 17 00:00:00 2001 From: Vlad Vesa Date: Wed, 19 Aug 2020 09:17:10 +0300 Subject: [PATCH] chore: updated cpplint rules --- cmake/cpplint.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/cpplint.cmake b/cmake/cpplint.cmake index 6751f0f..185f84b 100644 --- a/cmake/cpplint.cmake +++ b/cmake/cpplint.cmake @@ -119,7 +119,9 @@ function(cpplint_add_subdirectory DIR) add_custom_target(${TARGET_NAME} COMMAND ${CPPLINT} "--extensions=${EXTENSIONS}" "--root=${CPPLINT_PROJECT_ROOT}" - "--quiet" + "--quiet" + "--linelength=120" + "--filter=-build/header_guard, -runtime/references, -whitespace/indent" ${LIST_OF_FILES} DEPENDS ${LIST_OF_FILES} COMMENT "cpplint: Checking source code style"