summaryrefslogtreecommitdiffstats
path: root/tools/lint/clang-format.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/clang-format.yml')
-rw-r--r--tools/lint/clang-format.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/lint/clang-format.yml b/tools/lint/clang-format.yml
new file mode 100644
index 0000000000..bcdf9d8591
--- /dev/null
+++ b/tools/lint/clang-format.yml
@@ -0,0 +1,12 @@
+---
+clang-format:
+ description: Reformat C/C++
+ include:
+ - '.'
+ extensions: ['cpp', 'c', 'cc', 'h', 'm', 'mm']
+ support-files:
+ - 'tools/lint/clang-format/**'
+ type: external
+ payload: clang-format:lint
+ code_review_warnings: false
+ setup: clang-format:setup