Skip to content

Commit 35c731b

Browse files
committed
Initial commit with Refit.Composite core and tests
1 parent 26a4d84 commit 35c731b

24 files changed

Lines changed: 1400 additions & 0 deletions

.editorconfig

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.cs]
12+
13+
csharp_style_prefer_primary_constructors = true:suggestion
14+
csharp_style_spacing_after_primary_constructor_parameters_arrow = true
15+
16+
csharp_style_namespace_declarations = file_scoped:warning
17+
18+
csharp_style_var_for_built_in_types = true:suggestion
19+
csharp_style_var_when_type_is_apparent = true:suggestion
20+
21+
csharp_style_expression_bodied_properties = true:suggestion
22+
csharp_style_expression_bodied_methods = false:silent
23+
24+
csharp_style_prefer_switch_expression = true:suggestion
25+
26+
dotnet_diagnostic.IDE0130.severity = none
27+
28+
csharp_new_line_before_open_brace = types, methods, properties
29+
csharp_new_line_before_else = true
30+
csharp_new_line_before_catch = true
31+
32+
dotnet_naming_rule.interface_should_be_begun_with_i.severity = warning
33+
dotnet_naming_rule.interface_should_be_begun_with_i.symbols = interface_symbols
34+
dotnet_naming_rule.interface_should_be_begun_with_i.style = i_prefix_style
35+
36+
dotnet_naming_symbols.interface_symbols.applicable_kinds = interface
37+
dotnet_naming_style.i_prefix_style.required_prefix = I
38+
dotnet_naming_style.i_prefix_style.capitalization = pascal_case

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

0 commit comments

Comments
 (0)