]> source.dussan.org Git - javassist.git/commitdiff
add `.editorconfig` 475/head
authorJerry Lee <oldratlee@gmail.com>
Fri, 22 Dec 2023 11:38:10 +0000 (19:38 +0800)
committerJerry Lee <oldratlee@gmail.com>
Fri, 22 Dec 2023 11:53:45 +0000 (19:53 +0800)
ease the view and edit settings of the editor/IDE

more info see https://editorconfig.org/

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..fcc9126
--- /dev/null
@@ -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