summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-05-03 14:49:44 -0400
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2017-05-03 15:58:48 -0400
commitb2f7abc5e5a00db1658dd04d8ed96059dff70eb0 (patch)
treebdc8e15409c45b1b705eba47f88a7afd7a089c05 /.editorconfig
parentffab4f773e77204e96cd6c37cbeb1979ad41e302 (diff)
Add configuration in prep to enable coala and tox
* Configure the .gitignore in prepration for coala lint checking and tox driven tests * Add needed configuration files for driving tox based tests including coala lint validation checks Issue: CIMAN-2 Change-Id: I41746a251ca0ca95c681426a2f5cd3474de425e6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..5eb4e678e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,25 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+
+[*.json]
+indent_size = 2
+
+[*.rst]
+indent_size = 4
+
+[*.markdown]
+indent_size = 4
+max_line_length = 80
+
+[*.sh]
+indent_size = 4
+max_line_length = 80
+
+[*.yaml]
+indent_size = 4
+