]> granicus.if.org Git - taglib/commitdiff
Use EditorConfig to help us stick to our coding style.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 20 Oct 2014 02:27:30 +0000 (11:27 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 20 Oct 2014 02:27:30 +0000 (11:27 +0900)
http://editorconfig.org/

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..32b8a7d
--- /dev/null
@@ -0,0 +1,21 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Non-specified newlines with a newline ending every file
+[*]
+insert_final_newline = true
+
+# 2 space indentation
+[*.{h,cpp,tcc,cmake}]
+indent_style = space
+indent_size = 2
+
+# Trim traling whitespaces
+[*.{h,cpp,tcc,cmake}]
+trim_trailing_whitespace = true
+
+# UTF-8 without BOM
+[*]
+charset = utf-8