Clang tidy config file?

Is there any way to specify a config file for clang tidy rather than having to manually pass the checks in?
When I try

check_flags =
  clangtidy: --config-file="./clang-tidy"

It does not seem to be picking up the clang-tidy config file

Have you confirmed that by running pio check -v to see the exact invocation in the CLI?