[clang-tools-extra] [clang-tidy][NFC] Add `.editorconfig` for `.rst` files (PR #167269)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 10 01:03:50 PST 2025


================
@@ -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
----------------
vbvictor wrote:

I'd personally want to have `double-`indentation everywhere but a lot of existing options are using `triple-` so we shouldn't enforce `double-` right now.
We could in the future after some extensive refactoring but I don't think it's a big priority.

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


More information about the cfe-commits mailing list