forked from zompinc/sync-method-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
43 lines (35 loc) · 1.25 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
[*]
end_of_line = crlf
indent_style = space
indent_size = 2
insert_final_newline = true
spelling_exclusion_path = .\.vscode\spellright.dict
# Xml project files
[*.{csproj,props}]
indent_size = 2
# C# files
[*.cs]
csharp_style_namespace_declarations = file_scoped
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1633.severity = none
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3540
dotnet_diagnostic.SA1118.severity = none
indent_size = 4
csharp_style_expression_bodied_methods = true:silent
csharp_style_namespace_declarations = file_scoped
# SA1005: Single line comments should begin with single space
dotnet_diagnostic.SA1005.severity = none
[src/**.cs]
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
[tests/**.cs]
# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.CA1819.severity = none
dotnet_diagnostic.CA2255.severity = none
# SA1005: Single line comments should begin with single space
dotnet_diagnostic.SA1005.severity = none
# SA1512: Single-line comments should not be followed by blank line
dotnet_diagnostic.SA1512.severity = none
[*.sh]
end_of_line = lf