forked from terrajobst/minsk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
70 lines (51 loc) · 1.32 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# EditorConfig
root = true
# All files
[*]
#### Core EditorConfig Options ####
# Encoding
charset = utf-8
# Indentation and spacing
indent_size = 4
indent_style = space
# New line preferences
end_of_line = crlf
insert_final_newline = false
# Formatting
trim_final_newline = true
trim_trailing_whitespace = true
#### FileType EditorConfig Overrides ####
# Bash files
[*.sh]
end_of_line = lf
insert_final_newline = true
# Batch files
[*.{bat,cmd}]
end_of_line = crlf
insert_final_newline = true
# Build files
[*.{*proj,props,targets,items,tasks}]
indent_size = 2
# Solution files
[*.sln]
indent_style = tab
# Script files
[*.{ps1,psm1,psd1}]
insert_final_newline = true
# Git Files
[.git*]
insert_final_newline = true
# YAML files
[*.{yml,yaml}]
indent_size = 2
insert_final_newline = true
# csharp files
[*.cs]
dotnet_naming_rule.private_fields_start_with_underscore.symbols = private_fields
dotnet_naming_rule.private_fields_start_with_underscore.style = starts_with_underscore
dotnet_naming_rule.private_fields_start_with_underscore.severity = warning
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.starts_with_underscore.capitalization = camel_case
dotnet_naming_style.starts_with_underscore.required_prefix = _
# END