Add EditorConfig complementary to the existing formatter checks: > EditorConfig helps maintain consistent coding styles for multiple > developers working on the same project across various editors and > IDEs. > > -- EditorConfig, https://editorconfig.org Link: https://github.com/danth/stylix/pull/945 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
20 lines
378 B
INI
20 lines
378 B
INI
# http://editorconfig.org
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
|
|
[*.{diff,patch}]
|
|
end_of_line = unset
|
|
insert_final_newline = unset
|
|
trim_trailing_whitespace = unset
|
|
|
|
[*.{md,nix,hx,json,css,html,xml,svg,tmTheme}{,.mustache}]
|
|
indent_size = 2
|
|
|
|
[*.{bash,py,sh}{,.mustache}]
|
|
indent_size = 4
|