diff --git a/.ci/test.sh b/.ci/test.sh index 9afd0a86a659..3f0510aa75e8 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -82,7 +82,7 @@ if [[ $TASK == "lint" ]]; then echo "Linting C++ code" cpplint --filter=-build/c++11,-build/include_subdir,-build/header_guard,-whitespace/line_length --recursive ./src ./include ./R-package ./swig ./tests || exit -1 cmake_files=$(find . -name CMakeLists.txt -o -path "*/cmake/*.cmake") - cmakelint --linelength=120 --filter=-readability/wonkycase ${cmake_files} || true + cmakelint --linelength=120 --filter=-convention/filename,-package/stdargs,-readability/wonkycase ${cmake_files} || exit -1 exit 0 fi