-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
33 lines (27 loc) · 1.7 KB
/
Copy path.editorconfig
File metadata and controls
33 lines (27 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# EditorConfig — https://editorconfig.org
root = true
# ── Defaults for all files ────────────────────────────────────────────────────
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
# ── Java ──────────────────────────────────────────────────────────────────────
[*.java]
max_line_length = 200
# ── Build & Config (XML / POM) ────────────────────────────────────────────────
[{*.xml,*.xsd}]
max_line_length = 200
# ── Web / Cloud Config ────────────────────────────────────────────────────────
[*.{yml,yaml,json}]
indent_size = 2
# ── Markdown ──────────────────────────────────────────────────────────────────
# Trailing spaces are significant in Markdown (line break); keep them.
[*.md]
trim_trailing_whitespace = false
max_line_length = off
# ── Shell scripts ─────────────────────────────────────────────────────────────
[*.sh]
indent_size = 2