From a12b0efc9e0f2d60ed3f56a9bc385e0aa56b1903 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 25 Jul 2020 01:25:50 +0100 Subject: chore(3p/nix): Reduce number of active clang-tidy checks The full clang-tidy check suite is *very* slow. This reduced list is some kind of middle-ground between running all checks, and having a useful developer experience. Crucially most of the static analyzer checks (except for the ones related to security issues) have been disabled. We should look into running the full suite in CI only. Change-Id: I02b96ad3b4d1a43bd6aa90ffdcba800dad966714 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1422 Tested-by: BuildkiteCI Reviewed-by: glittershark --- third_party/nix/.clang-tidy | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/nix/.clang-tidy') diff --git a/third_party/nix/.clang-tidy b/third_party/nix/.clang-tidy index 96fe354fb665..16802282ea64 100644 --- a/third_party/nix/.clang-tidy +++ b/third_party/nix/.clang-tidy @@ -1,4 +1,5 @@ --- +Checks: 'abseil-c*,clang-analyzer-security-*,bugprone-*,google-*,modernize-*,cppcoreguidelines-*,misc-*' WarningsAsErrors: 'abseil-*,clang-analyzer-security.insecureAPI.strcpy' LineFilter: - {name: "src/cpptoml/cpptoml.h"} -- cgit 1.4.1