diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e0acda8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# Records the formatting conventions the tracked files already follow. +# https://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf + +# trim_trailing_whitespace is scoped to Java rather than applied to every file +# because LICENSE has trailing whitespace on three lines. insert_final_newline +# is deliberately left unset: the .java sources end without a final newline +# while README.md, LICENSE, and .gitignore end with one. +[*.java] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true