sapling/eden/.clang-tidy
Chad Austin 518a5912f7 clang-tidy: disable facebook-hte-ContextDependentStaticInit
Summary:
This linter adds little value and trips on valid (and idiomatic) uses
of std::source_location and SourceLocation, so disable it for EdenFS.

Reviewed By: genevievehelsel

Differential Revision: D41043149

fbshipit-source-id: 5d8baf0166cedd7bfc66a1c432ed09b438900d02
2022-11-04 15:33:50 -07:00

15 lines
615 B
YAML

# NOTE there must be no spaces before the '-', so put the comma after.
# When making changes, be sure to verify the output of the following command to ensure
# the desired checks are enabled (run from the directory containing a .clang-tidy file):
# `clang-tidy -- --dump-config`
# NOTE: Please don't disable inheritance from the parent to make sure that common checks get propagated.
---
InheritParentConfig: true
Checks: '
facebook-hte-PortabilityInclude-gflags/gflags.h,
facebook-hte-PortabilityInclude-gmock/gmock.h,
facebook-hte-PortabilityInclude-gtest/gtest.h,
-facebook-hte-ContextDependentStaticInit,
'
...