Skip to content

Commit 5a4ef36

Browse files
committed
create project structure
0 parents  commit 5a4ef36

File tree

13 files changed

+724
-0
lines changed

13 files changed

+724
-0
lines changed

.editorconfig

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Global settings
7+
[*]
8+
end_of_line = crlf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
# Xml project files
13+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
# Xml config files
18+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[*.{md,json}]
23+
indent_style = space
24+
indent_size = 4
25+
26+
[*.cs]
27+
indent_style = space
28+
indent_size = 4
29+
30+
# New line preferences
31+
csharp_new_line_before_open_brace = all
32+
csharp_new_line_before_else = true
33+
csharp_new_line_before_catch = true
34+
csharp_new_line_before_finally = true
35+
csharp_new_line_before_members_in_object_initializers = true
36+
csharp_new_line_before_members_in_anonymous_types = true
37+
csharp_new_line_between_query_expression_clauses = true
38+
39+
# Indentation preferences
40+
csharp_indent_block_contents = true
41+
csharp_indent_braces = false
42+
csharp_indent_case_contents = true
43+
csharp_indent_switch_labels = true
44+
csharp_indent_labels = one_less_than_current
45+
46+
# avoid this. unless absolutely necessary
47+
dotnet_style_qualification_for_field = false:suggestion
48+
dotnet_style_qualification_for_property = false:suggestion
49+
dotnet_style_qualification_for_method = false:suggestion
50+
dotnet_style_qualification_for_event = false:suggestion
51+
52+
# only use var when it's obvious what the variable type is
53+
csharp_style_var_for_built_in_types = false:none
54+
csharp_style_var_when_type_is_apparent = false:none
55+
csharp_style_var_elsewhere = false:suggestion
56+
57+
# use language keywords instead of BCL types
58+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
59+
dotnet_style_predefined_type_for_member_access = true:suggestion
60+
61+
# name all constant fields using PascalCase
62+
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
63+
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
64+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
65+
66+
dotnet_naming_symbols.constant_fields.applicable_kinds = field
67+
dotnet_naming_symbols.constant_fields.required_modifiers = const
68+
69+
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
70+
71+
# Code style defaults
72+
csharp_using_directive_placement = outside_namespace:warning
73+
dotnet_sort_system_directives_first = true
74+
csharp_preserve_single_line_blocks = true
75+
csharp_preserve_single_line_statements = false
76+
77+
# Expression-level preferences
78+
dotnet_style_object_initializer = true:suggestion
79+
dotnet_style_collection_initializer = true:suggestion
80+
dotnet_style_explicit_tuple_names = true:suggestion
81+
dotnet_style_coalesce_expression = true:suggestion
82+
dotnet_style_null_propagation = true:suggestion
83+
84+
# Expression-bodied members
85+
csharp_style_expression_bodied_methods = true:none
86+
csharp_style_expression_bodied_constructors = false:none
87+
csharp_style_expression_bodied_operators = false:none
88+
csharp_style_expression_bodied_properties = true:none
89+
csharp_style_expression_bodied_indexers = true:none
90+
csharp_style_expression_bodied_accessors = true:none
91+
92+
# Pattern matching
93+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
94+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
95+
csharp_style_inlined_variable_declaration = true:suggestion
96+
97+
# Null checking preferences
98+
csharp_style_throw_expression = true:suggestion
99+
csharp_style_conditional_delegate_call = true:suggestion
100+
101+
# Space preferences
102+
csharp_space_after_cast = false
103+
csharp_space_after_colon_in_inheritance_clause = true
104+
csharp_space_after_comma = true
105+
csharp_space_after_dot = false
106+
csharp_space_after_keywords_in_control_flow_statements = true
107+
csharp_space_after_semicolon_in_for_statement = true
108+
csharp_space_around_binary_operators = before_and_after
109+
csharp_space_around_declaration_statements = do_not_ignore
110+
csharp_space_before_colon_in_inheritance_clause = true
111+
csharp_space_before_comma = false
112+
csharp_space_before_dot = false
113+
csharp_space_before_open_square_brackets = false
114+
csharp_space_before_semicolon_in_for_statement = false
115+
csharp_space_between_empty_square_brackets = false
116+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
117+
csharp_space_between_method_call_name_and_opening_parenthesis = false
118+
csharp_space_between_method_call_parameter_list_parentheses = false
119+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
120+
csharp_space_between_method_declaration_name_and_open_parenthesis = false
121+
csharp_space_between_method_declaration_parameter_list_parentheses = false
122+
csharp_space_between_parentheses = false
123+
csharp_space_between_square_brackets = false
124+
125+
# FxCop Analyzers
126+
dotnet_diagnostic.CA1030.severity = none
127+
dotnet_diagnostic.CA1034.severity = none
128+
dotnet_diagnostic.CA1062.severity = none
129+
dotnet_diagnostic.CA1304.severity = error
130+
dotnet_diagnostic.CA1305.severity = none
131+
dotnet_diagnostic.CA1307.severity = error
132+
dotnet_diagnostic.CA1308.severity = error
133+
dotnet_diagnostic.CA1309.severity = error
134+
135+
# Banned API Analyzers
136+
dotnet_diagnostic.RS0030.severity = error

.gitattributes

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## IMPORTANT
2+
3+
* [ ] The code complies with the [Coding Guidelines for C#](https://www.csharpcodingguidelines.com/).
4+
* [ ] The changes are covered by a new or existing set of unit tests which follow the Arrange-Act-Assert syntax such as is used [in this example](https://github.com/fluentassertions/fluentassertions/blob/daaf35b9b59b622c96d0c034e8972a020b2bee55/Tests/FluentAssertions.Shared.Specs/BasicEquivalencySpecs.cs#L33).
5+
* [ ] If the contribution affects [the documentation](https://github.com/fluentassertions/fluentassertions/tree/master/docs/_pages), please include your changes in this pull request so the documentation will appear on the [website](https://www.fluentassertions.com).

.gitignore

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
*.sln.ide
9+
.vs/
10+
11+
12+
project.lock.json
13+
*.nuget.props
14+
*.nuget.targets
15+
16+
# Build results
17+
Artifacts/
18+
[Dd]ebug/
19+
[Rr]elease/
20+
x64/
21+
[Bb]in/
22+
[Oo]bj/
23+
24+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
25+
!packages/*/build/
26+
packages/**
27+
28+
# MSTest test Results
29+
[Tt]est[Rr]esult*/
30+
[Bb]uild[Ll]og.*
31+
32+
*_i.c
33+
*_p.c
34+
*.ilk
35+
*.meta
36+
*.obj
37+
*.pch
38+
*.pdb
39+
*.pgc
40+
*.pgd
41+
*.rsp
42+
*.sbr
43+
*.tlb
44+
*.tli
45+
*.tlh
46+
*.tmp
47+
*.tmp_proj
48+
*.log
49+
*.vspscc
50+
*.vssscc
51+
.builds
52+
*.pidb
53+
*.log
54+
*.scc
55+
56+
# Visual C++ cache files
57+
ipch/
58+
*.aps
59+
*.ncb
60+
*.opensdf
61+
*.sdf
62+
*.cachefile
63+
64+
# Visual Studio profiler
65+
*.psess
66+
*.vsp
67+
*.vspx
68+
69+
# Guidance Automation Toolkit
70+
*.gpState
71+
72+
# ReSharper is a .NET coding add-in
73+
_ReSharper*/
74+
*.[Rr]e[Ss]harper
75+
76+
# TeamCity is a build add-in
77+
_TeamCity*
78+
79+
# DotCover is a Code Coverage Tool
80+
*.dotCover
81+
82+
# NCrunch
83+
.*crunch*.local.xml
84+
_NCrunch_FluentAssertions/*
85+
86+
# Installshield output folder
87+
[Ee]xpress/
88+
89+
# DocProject is a documentation generator add-in
90+
DocProject/buildhelp/
91+
DocProject/Help/*.HxT
92+
DocProject/Help/*.HxC
93+
DocProject/Help/*.hhc
94+
DocProject/Help/*.hhk
95+
DocProject/Help/*.hhp
96+
DocProject/Help/Html2
97+
DocProject/Help/html
98+
99+
# Click-Once directory
100+
publish/
101+
102+
# Publish Web Output
103+
*.Publish.xml
104+
105+
# NuGet Packages Directory
106+
packages/
107+
108+
# Windows Azure Build Output
109+
csx
110+
*.build.csdef
111+
112+
# Windows Store app package directory
113+
AppPackages/
114+
115+
# Others
116+
sql/
117+
*.Cache
118+
ClientBin/
119+
[Ss]tyle[Cc]op.*
120+
~$*
121+
*~
122+
*.dbmdl
123+
*.[Pp]ublish.xml
124+
*.pfx
125+
*.publishsettings
126+
127+
# RIA/Silverlight projects
128+
Generated_Code/
129+
130+
# Backup & report files from converting an old project file to a newer
131+
# Visual Studio version. Backup files are not needed, because we have git ;-)
132+
_UpgradeReport_Files/
133+
Backup*/
134+
UpgradeLog*.XML
135+
UpgradeLog*.htm
136+
137+
# SQL Server files
138+
App_Data/*.mdf
139+
App_Data/*.ldf
140+
141+
142+
#LightSwitch generated files
143+
GeneratedArtifacts/
144+
_Pvt_Extensions/
145+
ModelManifest.xml
146+
147+
# =========================
148+
# Windows detritus
149+
# =========================
150+
151+
# Windows image file caches
152+
Thumbs.db
153+
ehthumbs.db
154+
155+
# Folder config file
156+
Desktop.ini
157+
158+
# Recycle Bin used on file shares
159+
$RECYCLE.BIN/
160+
161+
# Mac desktop service store files
162+
.DS_Store
163+
Package/Lib
164+
*.nupkg
165+
*.zip
166+
167+
.idea*
168+
169+
# Jekyll
170+
*.gem
171+
*.sublime-project
172+
*.sublime-workspace
173+
docs/.bundle
174+
docs/.DS_Store
175+
docs/.jekyll-metadata
176+
docs/.sass-cache
177+
docs/_asset_bundler_cache
178+
docs/_site
179+
docs/codekit-config.json
180+
docs/Gemfile.lock
181+
docs/node_modules
182+
183+
# Approval Tests
184+
*.received.txt

0 commit comments

Comments
 (0)