-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
52 lines (39 loc) · 1000 Bytes
/
.editorconfig
File metadata and controls
52 lines (39 loc) · 1000 Bytes
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
# .editorconfig
# inspired by Apathetic-Tools · MIT
# https://github.com/apathetic-tools/snippets/blob/main/docs/windows/development-setup
# vscode now comes with built-in .editorconfig support
# it does not support [{.*,*.md,*.mdx,*.json,*.toml,*.yml,}] so you have to split them out
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = false
# Python: 4-space indents
[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
# Config, Markdown, and dotfiles: spaces
[.*]
indent_style = space
[*.md]
indent_style = space
[*.mdx]
indent_style = space
[*.json]
indent_style = space
trim_trailing_whitespace = true
[*.toml]
indent_style = space
trim_trailing_whitespace = true
[*.yml]
indent_style = space
trim_trailing_whitespace = true
[*.yaml]
indent_style = space
trim_trailing_whitespace = true