-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.editorconfig
32 lines (27 loc) · 946 Bytes
/
.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
# EditorConfig is awesome: https://EditorConfig.org
# Additional properties: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# top-most EditorConfig file
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Tab indentation (no size specified)
indent_style = tab
tab_width = 4
# Disable maximum line length
max_line_length = off
quote_type = auto
continuation_indent_size = 2
[*.md]
trim_trailing_whitespace = false
# Set default charset
[*.{ts,tsx,js,jsx,mjs,cjs,astro,scss,css,json,md,svg,yml,yaml}] # Matches multiple files with brace expansion notation
charset = utf-8
# Denotes whether the left part of the curly bracket should be on the next line or not
[*.{ts,tsx,js,jsx,mjs,cjs,astro,json}]
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = inside
indent_brace_style = K&R