https://github.com/zeyi2 created 
https://github.com/llvm/llvm-project/pull/167269

Add an `.editorconfig` file, this helps contributors’ editors auto‑apply these 
conventions and reduces regressions.


This is part of the documentation improvement discussed in #167098

>From 85c41652d2256af9861d66598c991430cf70979a Mon Sep 17 00:00:00 2001
From: mtx <[email protected]>
Date: Mon, 10 Nov 2025 13:29:27 +0800
Subject: [PATCH] [clang-tidy][NFC] Add `.editorconfig` for `.rst` files

---
 clang-tools-extra/docs/.editorconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 clang-tools-extra/docs/.editorconfig

diff --git a/clang-tools-extra/docs/.editorconfig 
b/clang-tools-extra/docs/.editorconfig
new file mode 100644
index 0000000000000..74f96cdf09b79
--- /dev/null
+++ b/clang-tools-extra/docs/.editorconfig
@@ -0,0 +1,8 @@
+[clang-tidy/checks/**/*.rst]
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+indent_style = space
+indent_size = 2
+max_line_length = 80

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to