stylix: add editorconfig (#945)
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>
This commit is contained in:
parent
6fada03cd5
commit
7fc0a8716e
1 changed files with 20 additions and 0 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue