about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-25T00·25+0100
committertazjin <mail@tazj.in>2020-07-25T01·02+0000
commita12b0efc9e0f2d60ed3f56a9bc385e0aa56b1903 (patch)
tree9c675d49b46444e3b0838680dba507ce3d6e88df
parent2fcf2d0d20f7e67a80c2cb5b2d0a437faed6efb7 (diff)
chore(3p/nix): Reduce number of active clang-tidy checks r/1463
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 <grfn@gws.fyi>
-rw-r--r--third_party/nix/.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/nix/.clang-tidy b/third_party/nix/.clang-tidy
index 96fe354fb6..16802282ea 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"}