diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4a0ccf1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,36 @@ +# EditorConfig is awesome: https://EditorConfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{js,py}] +charset = utf-8 + +[*.py] +indent_style = space +indent_size = 4 + +[*.cr] +indent_style = space +indent_size = 2 + +[{*.html,*.css}] +indent_style = tab +indent_size = 4 + +[Makefile] +indent_style = tab + +[lib/**.js] +indent_style = space +indent_size = 2 + +[{package.json}] +indent_style = space +indent_size = 2