[gjs: 18/21] maint: Add cpplint exception



commit 1fc3288241d95b54e7f79d9d220315e17eba1c91
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Jun 8 21:12:41 2019 -0700

    maint: Add cpplint exception
    
    This rule exists because Chromium doesn't want certain C++ standard
    library features in their codebase since they have implemented their own
    alternatives. This rule shouldn't apply to codebases that aren't
    Chromium.

 CPPLINT.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/CPPLINT.cfg b/CPPLINT.cfg
index 1f5f9ec6..1d7ab35a 100644
--- a/CPPLINT.cfg
+++ b/CPPLINT.cfg
@@ -8,4 +8,6 @@ linelength=100
 # Exceptions to Google style
 # - build/include_order: We have a special order for include files, see "Header
 #   inclusion order" in CPP_Style_Guide.md.
-filter=-build/include_order
+# - build/c++11: This rule bans certain C++ standard library features, which
+#   have their own alternatives in the Chromium codebase, doesn't apply to us.
+filter=-build/include_order,-build/c++11


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]