summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authortrahman1318 <tausif.rahman@mongodb.com>2022-03-31 17:12:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-31 19:32:55 +0000
commit8711aedfc3e06626309eaed6a854c72a056ff2d8 (patch)
tree6615f50e8484f20733ff80e6f986b1e09c9a2636 /.clang-tidy
parent75cbc1477e90fc4ac145a718a5b646724e483104 (diff)
downloadmongo-8711aedfc3e06626309eaed6a854c72a056ff2d8.tar.gz
SERVER-60831 Document configuration for Server linting tools
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 00000000000..ea5badd8c12
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,3 @@
+Checks: '-*,bugprone-unused-raii,bugprone-use-after-move,readability-const-return-type,readability-avoid-const-params-in-decls'
+WarningsAsErrors: '*'
+HeaderFilterRegex: '(mongo/.*|build/.*)'