🧑‍💻 Update .editorconfig settings (#26264)

Fixes #26219
This commit is contained in:
Vladimir Sitnikov 2023-10-28 03:46:09 +03:00 committed by GitHub
parent 6907df0bd6
commit 050439ccba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,14 @@
# editorconfig.org # editorconfig.org
root = true root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
[{*.patch,syntax_test_*}] [{*.patch,syntax_test_*}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[{*.c,*.cpp,*.h,*.ino,*.py,Makefile}] [{*.c,*.cpp,*.h,*.ino,*.py,Makefile}]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf end_of_line = lf
[{*.c,*.cpp,*.h,*.ino}] [{*.c,*.cpp,*.h,*.ino}]
@ -18,6 +20,10 @@ indent_size = 2
indent_style = tab indent_style = tab
indent_size = 2 indent_size = 2
[*.md]
# Two spaces at the end of the line means newline in Markdown
trim_trailing_whitespace = false
[{*.py}] [{*.py}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4