summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorRémi Nicole <nicole@kolabsystems.com>2018-02-26 10:56:26 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-26 10:56:38 +0100
commit0b27ee6df7588a1a1a7c86a888498ffa50b0e115 (patch)
tree345af8540399d8585d86c7a0d02a8d4f4b9f4ad7 /.editorconfig
parent236fb1cb3a1d1638c52cf53fec341e64e7123091 (diff)
downloadkube-0b27ee6df7588a1a1a7c86a888498ffa50b0e115.tar.gz
kube-0b27ee6df7588a1a1a7c86a888498ffa50b0e115.zip
Add some configuration files for code style tooling
Summary: Tools: - [EditorConfig](http://editorconfig.org/) - [Clang Format](https://clang.llvm.org/docs/ClangFormat.html) Code style: - ClangFormat taken from Sink's configuration with small modifications: - max width set to 100 characters - do not pack arguments and initializer list elements - no space inside brace lists - EditorConfig: UNIX style text files, 4 spaces for indentation Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #kube Differential Revision: https://phabricator.kde.org/D10740
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..65b13306
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
1root = true
2
3[*]
4indent_style = space
5indent_size = 4
6end_of_line = lf
7insert_final_newline = true
8charset = utf-8
9trim_trailing_whitespace = true