Add editorconfig

Summary:
Defaults taken from kde coding style.
This file enables a minimum style guide to be enforced across editors,
like line endings, character encoding, tabs vs spaces, indent size
and some more.
https://editorconfig.org/

Reviewers: hindenburg, tcanabrava, gszymaszek

Reviewed By: hindenburg, tcanabrava, gszymaszek

Subscribers: Omar, gszymaszek, dhaumann, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D15383
This commit is contained in:
Lukas Bergdoll
2018-09-18 09:34:16 -04:00
committed by Kurt Hindenburg
parent 933b86d4fd
commit 7907b7a88f

14
.editorconfig Normal file
View File

@@ -0,0 +1,14 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 100
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false