From 0b27ee6df7588a1a1a7c86a888498ffa50b0e115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Nicole?= Date: Mon, 26 Feb 2018 10:56:26 +0100 Subject: 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 --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..65b13306 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true -- cgit v1.2.3