forked from mirrors/LibreTranslate
chore: add editorconfig
This commit is contained in:
parent
f19e52a392
commit
70c86a6903
1 changed files with 20 additions and 0 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
curly_bracket_next_line = false
|
||||||
|
spaces_around_operators = true
|
||||||
|
|
||||||
|
[*.{js,py}]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.{js,ts}]
|
||||||
|
quote_type = double
|
||||||
|
|
||||||
|
[*.{markdown,md}]
|
||||||
|
trim_trailing_whitespace = false
|
Loading…
Reference in a new issue