]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add .editorconfig for project
authorMichal Brašna <michal.brasna@gmail.com>
Sun, 28 Dec 2014 12:20:30 +0000 (13:20 +0100)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 4 May 2015 07:24:11 +0000 (00:24 -0700)
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..2451a56
--- /dev/null
@@ -0,0 +1,17 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+
+[*.{js,json}]
+indent_size = 4
+
+[*.{yml}]
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false