From 64a5f4ee5ae6bb47ed2685823d43d3d910d3bdd1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 8 Dec 2023 13:28:13 +1100 Subject: [PATCH] editorconfig: add HTML entry While there aren't many HTML files, use consistent formatting with 2 space indentation & 99 columns. --- .editorconfig | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 0d2ec3d0766..6e786cce49f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -59,4 +59,13 @@ trim_trailing_whitespace = true insert_final_newline = true indent_style = tab indent_size = 4 -max_line_length = 120 \ No newline at end of file +max_line_length = 120 + +# HTML +[*.html] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 +max_line_length = 99