summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2018-06-29 19:57:29 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2018-07-03 03:36:01 +0300
commit48ea6594e006001c3c348d5a00c992a2e14d0640 (patch)
tree836c3683eb6f3cd484b15002f19b38287c12d476 /.editorconfig
parent24dedf1450fd3631fc3dc40e531bc7a6fdbce3a0 (diff)
downloadpysaml2-48ea6594e006001c3c348d5a00c992a2e14d0640.tar.gz
Add editorconfig file with basic rules
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..c750e236
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,24 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 4
+tab_width = 4
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 79
+
+[*.y{a,}ml]
+indent_size = 2
+tab_width = 2
+
+[*.html]
+indent_style = tab
+
+[*.js]
+indent_style = tab
+
+[*.css]
+indent_style = tab