diff --git a/include/options.h b/include/options.h index 33ce5e5..3e58971 100644 --- a/include/options.h +++ b/include/options.h @@ -45,6 +45,7 @@ class Filter { // All entries here should start with a '-' or '+', as in the --filter= flag. const std::vector DEFAULT_FILTERS = { Filter("-build/include_alpha"), + Filter("-readability/fn_size"), }; enum : int { diff --git a/tests/lines_test.cpp b/tests/lines_test.cpp index bf3d7a3..a165eea 100644 --- a/tests/lines_test.cpp +++ b/tests/lines_test.cpp @@ -18,7 +18,8 @@ class LinesLinterTest : public ::testing::Test { void SetUp() override { filename = "test/test.cpp"; - ResetFilters("-legal/copyright,-whitespace/ending_newline,+build/include_alpha"); + ResetFilters("-legal/copyright,-whitespace/ending_newline," + "+build/include_alpha,+readability/fn_size"); } void TearDown() override {