mirror of https://github.com/zulip/zulip.git
Add .editorconfig for most file extensions with more than one use.
I didn't add anything about the following extensions since they had way too many different styles: - .txt - .conf - .erb (saw tab, 2-spaced, 4-spaced and 8-spaced files around the codebase) Fixes #3099.
This commit is contained in:
parent
6079584c85
commit
ffabf5fc49
|
@ -0,0 +1,19 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{sh,py,js, json,yml,xml, css, md,markdown}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.{handlebars,html, svg,rb,pp,pl}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{cfg}]
|
||||
indent_style = space
|
||||
indent_size = 8
|
Loading…
Reference in New Issue