aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorSindre Sorhus <sindresorhus@gmail.com>2012-08-29 01:14:48 +0200
committerDave Methvin <dave.methvin@gmail.com>2012-09-09 21:19:27 -0400
commit949dfe52bc228efe2d0cb2d696b822ef2a5723d1 (patch)
tree5c1709b9231bbaa2e8c7249d2272c4d2be61aa09 /.editorconfig
parent1c99b568fd6e7126cccf849bfe472d28a7ad895e (diff)
downloadjquery-949dfe52bc228efe2d0cb2d696b822ef2a5723d1.tar.gz
jquery-949dfe52bc228efe2d0cb2d696b822ef2a5723d1.zip
Update .editorconfig with new properties. Close gh-915.
See http://editorconfig.org
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig13
1 files changed, 10 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig
index bc55a13a6..d06e31850 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,9 +1,16 @@
-; This file is for unifying the coding style for different editors and IDEs.
-; More information at http://EditorConfig.org
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
root = true
-; All JavaScript files should use tabs unless specified otherwise
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Tabs in JS unless otherwise specified
[**.js]
indent_style = tab