aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorTrey Hunner <treyhunner@gmail.com>2012-05-18 13:24:48 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-05-18 13:24:48 -0400
commitc4df0c91bed4358ddca4b493afc06c69e5b501f0 (patch)
treeec7ca2ed488e1370f52202c48dbf9cb89b41f598 /.editorconfig
parent8cfdb5c800cdaa19606ca2dbf694285482557552 (diff)
downloadjquery-c4df0c91bed4358ddca4b493afc06c69e5b501f0.tar.gz
jquery-c4df0c91bed4358ddca4b493afc06c69e5b501f0.zip
Fix #11777. Add EditorConfig support, closes gh-715.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig36
1 files changed, 36 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..bc55a13a6
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,36 @@
+; This file is for unifying the coding style for different editors and IDEs.
+; More information at http://EditorConfig.org
+
+root = true
+
+; All JavaScript files should use tabs unless specified otherwise
+[**.js]
+indent_style = tab
+
+[Makefile]
+indent_style = tab
+
+
+[speed/**.html]
+indent_style = tab
+
+[speed/**.css]
+indent_style = tab
+
+[speed/benchmarker.js]
+indent_style = space
+indent_size = 2
+
+
+[test/**.xml]
+indent_style = tab
+
+[test/**.php]
+indent_style = tab
+
+[test/**.html]
+indent_style = tab
+
+[test/**.css]
+indent_style = space
+indent_size = 8