style(config): 🎨 Update editorconfig to standardize coding style rules for indentation, line endings, and syntax consistency
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
fdf0d57a9e
commit
bf2df14f07
1 changed files with 27 additions and 0 deletions
27
.editorconfig
Normal file
27
.editorconfig
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{md,markdown}]
|
||||
trim_trailing_whitespace = false # markdown uses trailing spaces for line breaks
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
[*.go]
|
||||
indent_style = tab
|
||||
|
||||
[*.{sh,bash}]
|
||||
indent_size = 4
|
||||
|
||||
[*.{py,pyi}]
|
||||
indent_size = 4
|
||||
|
||||
[*.yaml]
|
||||
indent_size = 2
|
||||
Loading…
Add table
Reference in a new issue