1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-24 10:06:43 +02:00

chore: add editorconfig

This commit is contained in:
Seth Falco 2021-12-31 11:52:48 +01:00
parent f19e52a392
commit 70c86a6903
No known key found for this signature in database
GPG Key ID: DE1C217EFF01FEC8

20
.editorconfig Normal file
View 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