Add EditorConfig configuration for Debian packaging files.
authorBen Finney <[email protected]>
Mon, 8 Aug 2016 18:00:29 +0000 (9 04:00 +1000)
committerBen Finney <[email protected]>
Mon, 8 Aug 2016 18:00:29 +0000 (9 04:00 +1000)
debian/.editorconfig [new file with mode: 0644]

diff --git a/debian/.editorconfig b/debian/.editorconfig
new file mode 100644 (file)
index 0000000..61c0ee1
--- /dev/null
@@ -0,0 +1,46 @@
+# debian/.editorconfig
+# EditorConfig configuration for Debian packaging files.
+# Homepage: <URL:http://editorconfig.org/>
+
+# Is this the project-root configuration file?
+root = false
+
+
+[*]
+
+# Character encoding to use.
+charset = utf-8
+
+# Indentation style (“tab”, “space”).
+indent_style = space
+
+# How many columns (integer) for each indentation level.
+indent_size = 4
+
+# How many columns (integer) to represent a U+0008 TAB.
+tab_width = 8
+
+# How many characters (integer) before enforcing line wrap.
+max_line_length = 79
+
+# Remove trailing whitespace on each line?
+trim_trailing_whitespace = true
+
+# Line break style (“lf”, “cr”, “crlf”).
+end_of_line = lf
+
+# Ensure file ends with a line break?
+insert_final_newline = true
+
+
+[{*.mk,Makefile,rules}]
+
+indent_style = tab
+
+
+\f
+# Local variables:
+# coding: utf-8
+# mode: conf
+# End:
+# vim: fileencoding=utf-8 filetype=conf :