-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
65 lines (45 loc) · 1.39 KB
/
.editorconfig
File metadata and controls
65 lines (45 loc) · 1.39 KB
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
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
# Xml solution files
[*.slnx]
indent_size = 2
# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,wixproj}]
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct,runsettings}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# C#/VB files
[*.{cs,vb}]
#### Core EditorConfig Options ####
# New line preferences
insert_final_newline = false
#### Spelling ####
spelling_exclusion_path = exclusion.dic
#### Code Style ####
# var preferences
csharp_style_var_elsewhere = true:silent
csharp_style_var_for_built_in_types = true:silent
csharp_style_var_when_type_is_apparent = true:silent
# preferences
csharp_style_prefer_unbound_generic_type_in_nameof = false:silent
#### Suppressions ####
## Roslynator
# RCS1163: Unused parameter
dotnet_diagnostic.RCS1163.severity = none
## Sonar
# S1133: Deprecated code should be removed
dotnet_diagnostic.S1133.severity = suggestion
## Resharper
# Add explicit 'return' or 'continue' before local functions
resharper_separate_local_functions_with_jump_statement_highlighting = none