diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9e3e77c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +[*] +indent_style = tab +indent_size = 4 +end_of_line = LF +max_line_length = 100 + +insert_final_newline = true + +[{*.c, *.cpp, *.sc, *.sh, *.lua, *.m, *.mm, *.mk, makefile}] +trim_trailing_whitespace = true diff --git a/.gitattributes b/.gitattributes index ddb52c3..e89cf41 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,11 @@ +*.c eol=lf *.cpp eol=lf *.h eol=lf *.sc eol=lf *.sh eol=lf +*.m eol=lf +*.mm eol=lf *.md eol=lf *.lua eol=lf +*.mk eol=lf +makefile eol=lf