Merge pull request #42 from devnoname120/add-editorconfig-file

Add `.editorconfig` file
This commit is contained in:
Kavish Devar
2025-01-27 19:23:58 +05:30
committed by GitHub

21
.editorconfig Normal file
View File

@@ -0,0 +1,21 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{md,apib}]
indent_size = 4
# In Markdown a trailing double space is interpreted as <br>
trim_trailing_whitespace = false
max_line_length = off
[*.{py,java,r,R}]
indent_size = 4