about summary refs log tree commit diff
path: root/third_party/nix/.clang-tidy
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-07-25T03·39-0700
committerkanepyork <rikingcoding@gmail.com>2020-07-26T01·04+0000
commitc3608fdf87b34eff33270bf91db3ec35d696f6a2 (patch)
tree042b83ef82d9606fc7c5f008bd276af33a6d1a12 /third_party/nix/.clang-tidy
parentdafb57181819e44dbed9d2db15c8c33173c91ed6 (diff)
fix(3p/nix): fix broken clang-tidy config r/1478
LineFilter doesn't actually exist in this version of clang-tidy. It was only working because the config was ignored.

Change-Id: Ice5ddb5d1031dfc2cc4fee24674464f965323d8b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1431
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/.clang-tidy')
-rw-r--r--third_party/nix/.clang-tidy6
1 files changed, 1 insertions, 5 deletions
diff --git a/third_party/nix/.clang-tidy b/third_party/nix/.clang-tidy
index 16802282ea64..ca2de10837fa 100644
--- a/third_party/nix/.clang-tidy
+++ b/third_party/nix/.clang-tidy
@@ -1,8 +1,4 @@
 ---
 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"}
+WarningsAsErrors: 'abseil-*,clang-analyzer-security*'
 ...