-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
52 lines (43 loc) · 1.26 KB
/
Copy path.editorconfig
File metadata and controls
52 lines (43 loc) · 1.26 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
root = true
# ============================================================
# Universal settings
# ============================================================
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
# ============================================================
# Web / config formats — 2-space indent
# ============================================================
[*.{json,jsonc}]
indent_size = 2
[*.{yml,yaml}]
indent_size = 2
[*.{css,scss,less,html,htm}]
indent_size = 2
[*.{md,mdx}]
indent_size = 2
trim_trailing_whitespace = false
# ============================================================
# Dart — 2-space indent, 80 char line length
# ============================================================
[*.dart]
indent_size = 2
max_line_length = 80
# ============================================================
# JavaScript / TypeScript (interop files)
# ============================================================
[*.{js,ts,mjs,cjs}]
indent_size = 2
# ============================================================
# Build files
# ============================================================
[Makefile]
indent_style = tab
indent_size = 4
[*.sh]
indent_size = 2