-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
34 lines (23 loc) · 902 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
33
34
# https://EditorConfig.org
root = true # search for .editorconfig files will stop if the root filepath is reached or an EditorConfig file with root=true is found.
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
# Line endings
end_of_line = lf # set to lf, cr, or crlf to control how line breaks are represented.
insert_final_newline = true # set to true to ensure file ends with a newline
trim_trailing_whitespace = true # set to true to remove any whitespace characters preceding newline characters and false to ensure it doesn't.
# Line length
# max_line_length = 88
# Tab indentation
indent_size = 4
indent_style = space
[*.bat]
end_of_line = crlf
[*.{go, puml, nsi, nsh, Makefile, mk}]
indent_style = tab
[*.{md, yml, yaml, json, js, css, html, gohtml, gotmpl, toml, scss, sass, xml}]
indent_size = 2
[*.{md, markdown, html}]
max_line_length = off
# [*.other]