Tidy Presets

Used with sniffercommit init --enable-clang-tidy:

PresetScope
minimalcppcoreguidelines + bugprone + clang-analyzer
standard (default)minimal + modernize + performance
strictAll checks minus noisy ones (abseil, altera, fuchsia, llvm, zircon)
customUser-defined via extra_checks / exclude_checks

Manual clang-tidy

Run clang-tidy without the sniffercommit wrapper:

$ clang-tidy --config-file=.clang-tidy src/main.cpp --

Requires sniffercommit init --enable-clang-tidy to have created .clang-tidy.