-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
56 lines (48 loc) · 1.06 KB
/
.editorconfig
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
53
54
55
56
# EditorConfig is awesome: http://EditorConfig.org
# This EditorConfig overrides any parent EditorConfigs
root = true
# Default rules applied to all file types
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 80
tab_width = 2
quote_type = double
# JavaScript and TypeScript-specific settings
[*.{js,ts}]
quote_type = single
indent_size = 2
continuation_indent_size = 2
curly_bracket_next_line = false
indent_brace_style = BSD
spaces_around_operators = true
spaces_around_brackets = none
max_line_length = 100
# JSON-specific settings
[*.json]
indent_style = space
indent_size = 2
quote_type = double
# Markdown-specific settings
[*.md]
trim_trailing_whitespace = false
max_line_length = off
quote_type = double
# YAML-specific settings
[*.yaml,*.yml]
indent_style = space
indent_size = 2
# HTML-specific settings
[*.html]
indent_style = space
indent_size = 2
max_line_length = 120
# Python-specific settings
[*.py]
indent_style = space
indent_size = 4
max_line_length = 79