]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
add .editorconfig
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sun, 24 Jan 2016 22:57:51 +0000 (23:57 +0100)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sun, 24 Jan 2016 23:12:14 +0000 (00:12 +0100)
EditorConfig is very well known config file for text editors/IDE's
with settings for project. This format supported by Vim, GNOME Builder,
Atom, Sublime and many others.

We will provide this configuration to be more friendly for newcomers.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..dec1094
--- /dev/null
@@ -0,0 +1,14 @@
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+
+[*.[ch]]
+indent_style = tab
+indent_size = 8
+trim_trailing_whitespace = true
+
+[*.sym]
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true