Create .editorconfig

Fixes: #9059
It'd be good to add a .editorconfig file so that anyone contributing to Nextcloud can follow the same rules for tabs/spaces, newlines, charsets etc.
Editorconfig (http://editorconfig.org/) is very popular and it's become standard for open-source projects to include one. I based the rules on the current code-base.
pull/17782/head
Christian Oliff 5 years ago committed by GitHub
parent 686f1931ae
commit 551048000f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,17 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.php]
indent_size = 8
[*.md]
trim_trailing_whitespace = false
Loading…
Cancel
Save