-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
33 lines (26 loc) · 759 Bytes
/
Copy path.editorconfig
File metadata and controls
33 lines (26 loc) · 759 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
# Mirrors the line-ending rules in .gitattributes so editors write what Git
# expects. Keep the two files in sync when adding rules to either.
root = true
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# Windows-only scripts and Visual Studio solution files must keep CRLF.
[*.{bat,cmd,ps1}]
end_of_line = crlf
[*.sln]
end_of_line = crlf
indent_style = tab
[*.{cs,csproj}]
indent_size = 4
[*.{java,kt,kts,gradle}]
indent_size = 4
[*.md]
# Two trailing spaces are a hard line break in Markdown.
trim_trailing_whitespace = false
[*.{png,jpg,jpeg,gif,webp,ico,jar,keystore,jks,woff,woff2,ttf,eot,pdf,zip}]
insert_final_newline = false
trim_trailing_whitespace = false