forked from microsoft/react-native-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
48 lines (38 loc) · 884 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 2 spaces as indentation
# Trim trailing whitespace
[*]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
end_of_line = lf
[*.{js, yml}]
indent_size = 2
[*.cs]
indent_size = 4
end_of_line = crlf
# Xml project files
[*.{config,csproj,njsproj,props,targets,vcxitems,vcxproj,vcxproj.filters}]
indent_size = 2
end_of_line = crlf
insert_final_newline = false
# Xml files
[*.{xml,stylecop,resx,ruleset}]
indent_size = 2
end_of_line = crlf
# XML config files
[*.{msbuild,props,targets,ruleset,config,nuspec}]
indent_size = 2
end_of_line = crlf
# Shell scripts
[*.{cmd,bat,ps1}]
end_of_line = crlf
[overrides.json]
insert_final_newline = false
[package.json]
insert_final_newline = false