tvl-depot/third_party/nix/.clang-tidy
Vincent Ambo a12b0efc9e 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 <grfn@gws.fyi>
2020-07-25 01:02:41 +00:00

8 lines
324 B
YAML

---
Checks: 'abseil-c*,clang-analyzer-security-*,bugprone-*,google-*,modernize-*,cppcoreguidelines-*,misc-*'
WarningsAsErrors: 'abseil-*,clang-analyzer-security.insecureAPI.strcpy'
LineFilter:
- {name: "src/cpptoml/cpptoml.h"}
- {name: "include/google/protobuf/metadata_lite.h"}
- {name: "generated/lexer-tab.cc"}
...