From e840fbb382380b4027b7c413210ee398715e9a8e Mon Sep 17 00:00:00 2001 From: rishabh570 Date: Wed, 3 Oct 2018 10:39:33 +0530 Subject: [PATCH] Add editorconfig file. --- chainkeeper_app/.editorconfig | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 chainkeeper_app/.editorconfig diff --git a/chainkeeper_app/.editorconfig b/chainkeeper_app/.editorconfig new file mode 100644 index 0000000..7c0e9b0 --- /dev/null +++ b/chainkeeper_app/.editorconfig @@ -0,0 +1,36 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Use 4 spaces for the Python files +[*.py] +indent_size = 4 +max_line_length = 80 + +# The JSON files contain newlines inconsistently +[*.json] +insert_final_newline = ignore + +# Minified JavaScript files shouldn't be changed +[**.min.js] +indent_style = ignore +insert_final_newline = ignore + +# Makefiles always use tabs for indentation +[Makefile] +indent_style = tab + +# Batch files use tabs for indentation +[*.bat] +indent_style = tab + +[*.md] +trim_trailing_whitespace = false +