Skip to content

Commit 86b1ba8

Browse files
committed
Create new repository.
0 parents  commit 86b1ba8

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed

.editorconfig

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf
10+
11+
[*.csproj]
12+
insert_final_newline = false
13+
14+
[*.cs]
15+
indent_style = tab
16+
indent_size = 4
17+
18+
# changes from VS2017 defaults
19+
csharp_style_expression_bodied_methods = true:suggestion
20+
csharp_style_expression_bodied_constructors = true:suggestion
21+
csharp_style_expression_bodied_operators = true:suggestion
22+
csharp_prefer_braces = false:none
23+
csharp_indent_switch_labels = false
24+
csharp_space_after_cast = true
25+
csharp_preserve_single_line_statements = false
26+
27+
# use VS2017 defaults, but make them warnings (instead of none)
28+
dotnet_style_qualification_for_field = false:warning
29+
dotnet_style_qualification_for_property = false:warning
30+
dotnet_style_qualification_for_method = false:warning
31+
dotnet_style_qualification_for_event = false:warning
32+
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
33+
dotnet_style_explicit_tuple_names = true:warning
34+
dotnet_style_coalesce_expression = true:warning
35+
36+
# use VS2017 defaults, but make them suggestions (instead of none)
37+
csharp_style_var_for_built_in_types = true:suggestion
38+
csharp_style_var_when_type_is_apparent = true:suggestion
39+
csharp_style_var_elsewhere = true:suggestion
40+
csharp_style_expression_bodied_properties = true:suggestion
41+
csharp_style_expression_bodied_indexers = true:suggestion
42+
csharp_style_expression_bodied_accessors = true:suggestion
43+
44+
# explicitly use VS2017 defaults
45+
dotnet_style_object_initializer = true:suggestion
46+
dotnet_style_collection_initializer = true:suggestion
47+
dotnet_style_null_propagation = true:suggestion
48+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
49+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
50+
csharp_style_inlined_variable_declaration = true:suggestion
51+
csharp_prefer_simple_default_expression = true:suggestion
52+
csharp_style_throw_expression = true:suggestion
53+
csharp_style_conditional_delegate_call = true:suggestion
54+
dotnet_sort_system_directives_first = true
55+
csharp_new_line_before_open_brace = all
56+
csharp_new_line_before_else = true
57+
csharp_new_line_before_catch = true
58+
csharp_new_line_before_finally = true
59+
csharp_new_line_before_members_in_object_initializers = true
60+
csharp_new_line_before_members_in_anonymous_types = true
61+
csharp_new_line_within_query_expression_clauses = true
62+
csharp_indent_case_contents = true
63+
csharp_indent_labels = one_less
64+
csharp_space_after_keywords_in_control_flow_statements = true
65+
csharp_space_between_method_declaration_parameter_list_parentheses = false
66+
csharp_space_between_method_call_parameter_list_parentheses = false
67+
csharp_space_between_parentheses = false
68+
csharp_preserve_single_line_blocks = true

.gitattributes

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* text=auto eol=lf
2+
*.csproj text=auto eol=crlf
3+
4+
*.enc binary
5+
*.eot binary
6+
*.ico binary
7+
*.jpg binary
8+
*.otf binary
9+
*.pem binary
10+
*.pfx binary
11+
*.png binary
12+
*.ttf binary
13+
*.woff binary
14+
*.woff2 binary
15+
*.pfx binary
16+

.gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ignore output folders
2+
BenchmarkDotNet.Artifacts/
3+
bin/
4+
build/
5+
obj/
6+
packages/
7+
8+
# ignore user-specific options/cache files
9+
project.lock.json
10+
_ReSharper.*
11+
TestResult.xml
12+
Thumbs.db
13+
*.csproj.user
14+
*.DotSettings.user
15+
.idea
16+
*.[Rr]e[Ss]harper.user
17+
*.sln.cache
18+
*.suo
19+
.vs/
20+
*.xproj.user
21+
.vscode/

0 commit comments

Comments
 (0)