From: Jerry Lee Date: Fri, 22 Dec 2023 11:38:10 +0000 (+0800) Subject: add `.editorconfig` X-Git-Tag: rel_3_30_2_ga~2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56b036ecf893aa6bd249d0e18acec180a73934fd;p=javassist.git add `.editorconfig` ease the view and edit settings of the editor/IDE more info see https://editorconfig.org/ --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..fcc91261 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# https://editorconfig.org/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +tab_width = 8 +indent_size = 2 +ij_continuation_indent_size = 4 +indent_style = space + +trim_trailing_whitespace = true + + +[*.{java,j}] +indent_size = 4 +ij_continuation_indent_size = 8 + + +[*.md] +trim_trailing_whitespace = false