VS can use a .clang-tidy file according to the ms-docs (https://docs.microsoft.com/en-us/cpp/code-quality/clang-tidy?view=vs-2019)
Clang-Tidy configuration
You can configure the checks that clang-tidy runs inside Visual Studio via the Clang-Tidy Checks option.
This input is provided to the --checks argument of the tool.
Any further configuration can be included in custom .clang-tidy files.
For more information, see the Clang-Tidy documentation on LLVM.org.