diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..eb7e727 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +# with UTF-8 encoding by default. +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[*.go] +indent_style = tab + +[*.{js,json}] +indent_style = space +indent_size = 2 + +[*.py] +indent_style = space +indent_size = 4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3a04b94 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Force all text file to use Unix EOL +* text=auto eol=lf