Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@yahoo.com>2019-11-02 09:30:50 +0300
committerGitHub <noreply@github.com>2019-11-02 09:30:50 +0300
commit551048000f9ddfc14e6f6bf63348f49caacff8f6 (patch)
treeb895d9ef095728fe7923e8b47bb695ec99a59296 /.editorconfig
parent686f1931ae3e7723c421d6e2c8f9e4e9957589af (diff)
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.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000000..20b17067dfa
--- /dev/null
+++ b/.editorconfig
@@ -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