mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-07 19:05:13 +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:
parent
6e47acda1c
commit
20661487d6
1 changed files with 22 additions and 0 deletions
22
.editorconfig
Normal file
22
.editorconfig
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue