-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
31 lines (25 loc) · 1.34 KB
/
.editorconfig
File metadata and controls
31 lines (25 loc) · 1.34 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
# .editorconfig — WiredSwift / wired3
# https://editorconfig.org
# Supported by Xcode 15+, VS Code, vim/neovim, JetBrains IDEs, etc.
root = true
# ── Defaults (all files) ──────────────────────────────────────────────
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# ── Swift sources ─────────────────────────────────────────────────────
[*.swift]
indent_style = space
indent_size = 4
# ── YAML / GitHub Actions ─────────────────────────────────────────────
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# ── Markdown ──────────────────────────────────────────────────────────
[*.md]
trim_trailing_whitespace = false # trailing spaces are significant in Markdown
# ── Shell scripts ─────────────────────────────────────────────────────
[*.sh]
indent_style = space
indent_size = 4