summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2017-04-13 16:37:32 +0200
committerLeo Balter <leonardo.balter@gmail.com>2017-04-13 10:37:32 -0400
commita621155bcd6715ad9b3862e17366936df1f314fd (patch)
tree0157f74370cd9d890a1c3d7a8f32af72d097a5d1 /.editorconfig
parent96aa8c77b33ef734d486fece1cf00fb373785e2c (diff)
downloadqtdeclarative-testsuites-a621155bcd6715ad9b3862e17366936df1f314fd.tar.gz
Unify indentation and add .editorconfig (#973)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..3fef34e81
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = tab
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[{README.md,package.json,.travis.yml,*.sh,*.js}]
+indent_style = space
+indent_size = 2
+
+[{.jshintrc,*.py}]
+indent_style = space
+indent_size = 4