1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 11:50:00 +02:00

Add .editorconfig

Add a proposal for a .editorconfig file (see https://editorconfig.org/).
This is natively supported by a lot of editors, others are supported via
plugins.

This will close #19.
This commit is contained in:
Benjamin Rosemann 2020-10-28 11:31:18 +01:00
parent 6e47acda1c
commit 20661487d6

22
.editorconfig Normal file
View file

@ -0,0 +1,22 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 90
tab_width = 4
[{*.cfg, *.ini, *.html, *.yaml, *.yml}]
indent_size = 2
[*.json]
indent_size = 2
insert_final_newline = false
# trailing spaces in markdown indicate word wrap
[*.md]
trim_trailing_whitespace = false