bazel_clang_tidy icon indicating copy to clipboard operation
bazel_clang_tidy copied to clipboard

Passing `--load` for custom clang-tidy checks

Open connorjsmith opened this issue 2 years ago • 1 comments

How would I be able to pass an arbitrary command line param (specifically --load, to load a custom clang-tidy check)?

Thanks in advance!

connorjsmith avatar Dec 03 '23 00:12 connorjsmith

Try pass it through --copts. If that works, you can add it to your bazelrc (here: https://github.com/erenon/bazel_clang_tidy/blob/master/.bazelrc)

erenon avatar Dec 04 '23 13:12 erenon