diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-02-26 10:56:26 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-26 10:56:38 +0100 |
commit | 0b27ee6df7588a1a1a7c86a888498ffa50b0e115 (patch) | |
tree | 345af8540399d8585d86c7a0d02a8d4f4b9f4ad7 /.editorconfig | |
parent | 236fb1cb3a1d1638c52cf53fec341e64e7123091 (diff) | |
download | kube-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-- | .editorconfig | 9 |
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 @@ | |||
1 | root = true | ||
2 | |||
3 | [*] | ||
4 | indent_style = space | ||
5 | indent_size = 4 | ||
6 | end_of_line = lf | ||
7 | insert_final_newline = true | ||
8 | charset = utf-8 | ||
9 | trim_trailing_whitespace = true | ||