You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I did forget to update the documentation in my previous PR.
I also did run into a problem with where the .clang-tidy file lies. I also added that to the doc.
:exclamation: the config-file will not be forced by adding it to the clang-tidy command line. Therefore it must be in one of the parents of all source files. It is recommended to put it in the root directly besides the WORKSPACE file.
57
+
58
+
56
59
Now if you don't want to type this out every time, it is recommended that you
57
60
add a config in your .bazelrc that matches this command line;
58
61
@@ -71,6 +74,13 @@ Now from the command line this is a lot nicer to use;
71
74
bazel build //... --config clang-tidy
72
75
```
73
76
77
+
### use a non-system clang-tidy
78
+
by default, bazel_clang_tidy uses the system provided clang-tidy.
79
+
If you have a hermetic build, you can use your own clang-tidy target like this:
0 commit comments