aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerry Lee <oldratlee@gmail.com>2023-12-22 19:38:10 +0800
committerJerry Lee <oldratlee@gmail.com>2023-12-22 19:53:45 +0800
commit56b036ecf893aa6bd249d0e18acec180a73934fd (patch)
tree632959333c883203d246e099afdf363ad263d719
parentfe634f3aad12e48f57d116ef8b8b3e8df8b9e261 (diff)
downloadjavassist-56b036ecf893aa6bd249d0e18acec180a73934fd.tar.gz
javassist-56b036ecf893aa6bd249d0e18acec180a73934fd.zip
add `.editorconfig`
ease the view and edit settings of the editor/IDE more info see https://editorconfig.org/
-rw-r--r--.editorconfig24
1 files changed, 24 insertions, 0 deletions
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