aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorShigeru Chiba <chibash@users.noreply.github.com>2023-12-23 02:04:56 +0900
committerGitHub <noreply@github.com>2023-12-23 02:04:56 +0900
commit0f4cd0cce594efdee66a248d4190573be912a886 (patch)
tree632959333c883203d246e099afdf363ad263d719 /.editorconfig
parentfe634f3aad12e48f57d116ef8b8b3e8df8b9e261 (diff)
parent56b036ecf893aa6bd249d0e18acec180a73934fd (diff)
downloadjavassist-0f4cd0cce594efdee66a248d4190573be912a886.tar.gz
javassist-0f4cd0cce594efdee66a248d4190573be912a886.zip
Merge pull request #475 from oldratlee/add-editor-config
add `.editorconfig`
Diffstat (limited to '.editorconfig')
-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