[clang-tools-extra] [clang-tidy][NFC] Add `.editorconfig` for `.rst` files (PR #167269)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 9 21:51:00 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
----------------
zeyi2 wrote:
I'm not sure this is necessary. The clang-tidy docs currently mix single- ,double-, triple-space indentation. (mainly in `.. code-block::` and `.. option::`)
https://github.com/llvm/llvm-project/pull/167269
More information about the cfe-commits
mailing list