Skip to content

Commit eec0cbf

Browse files
authored
Cleanup build files (#93)
1 parent ae87749 commit eec0cbf

16 files changed

+325
-584
lines changed

.bettercodehub.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-sonarscanner": {
6+
"version": "4.8.0",
7+
"commands": [
8+
"dotnet-sonarscanner"
9+
]
10+
}
11+
}
12+
}

.editorconfig

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
# CSharp code style settings:
15+
[*.cs]root = true
16+
17+
# C# or VB files
18+
[*.{cs,vb}]
19+
guidelines = 80, 100
20+
21+
[*]
22+
charset = utf-8
23+
end_of_line = lf
24+
indent_size = 2
25+
indent_style = space
26+
insert_final_newline = true
27+
trim_trailing_whitespace = true
28+
29+
[*.md]
30+
trim_trailing_whitespace = false
31+
32+
# Cake build code style settings:
33+
[*.cake]
34+
indent_size = 4
35+
36+
# CSharp code style settings:
37+
[*.cs]
38+
indent_size = 4
39+
40+
# Avoid "this." and "Me." if not necessary
41+
dotnet_style_qualification_for_field = false:suggestion
42+
dotnet_style_qualification_for_property = false:suggestion
43+
dotnet_style_qualification_for_method = false:suggestion
44+
dotnet_style_qualification_for_event = false:suggestion
45+
46+
# Use language keywords instead of framework type names for type references
47+
dotnet_style_predefined_type_for_locals_parameters_members = true:error
48+
dotnet_style_predefined_type_for_member_access = true:error
49+
50+
# Modifier preferences
51+
dotnet_style_require_accessibility_modifiers = always
52+
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async
53+
54+
# Suggest more modern language features when available
55+
dotnet_style_object_initializer = true:suggestion
56+
dotnet_style_collection_initializer = true:suggestion
57+
dotnet_style_explicit_tuple_names = true:error
58+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
59+
dotnet_prefer_inferred_anonymous_type_member_names = true:suggestion
60+
dotnet_style_coalesce_expression = true:suggestion
61+
dotnet_style_null_propagation = true:suggestion
62+
63+
# Prefer "var" everywhere
64+
csharp_style_var_for_built_in_types = true:suggestion
65+
csharp_style_var_when_type_is_apparent = true:suggestion
66+
csharp_style_var_elsewhere = false:error
67+
68+
# Prefer method-like constructs to have a block body
69+
csharp_style_expression_bodied_methods = false:none
70+
csharp_style_expression_bodied_constructors = false:none
71+
csharp_style_expression_bodied_operators = false:none
72+
73+
# Prefer property-like constructs to have an expression-body
74+
csharp_style_expression_bodied_properties = true:none
75+
csharp_style_expression_bodied_indexers = true:none
76+
csharp_style_expression_bodied_accessors = true:none
77+
78+
# Suggest more modern language features when available
79+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
80+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
81+
csharp_style_inlined_variable_declaration = true:suggestion
82+
csharp_style_throw_expression = false:error
83+
csharp_style_conditional_delegate_call = true:suggestion
84+
85+
# Expression-level preferences
86+
csharp_prefer_simple_default_expression = true:error
87+
csharp_style_deconstructed_variable_declaration = false:none
88+
csharp_style_pattern_local_over_anonymous_function = true:none
89+
90+
# Sort using and Import directives with System.* appearing first
91+
dotnet_sort_system_directives_first = true
92+
93+
# Newline settings
94+
csharp_new_line_before_open_brace = all
95+
csharp_new_line_before_else = true
96+
csharp_new_line_before_catch = true
97+
csharp_new_line_before_finally = true
98+
csharp_new_line_before_members_in_anonymous_types = true
99+
csharp_new_line_between_query_expression_clauses = true
100+
csharp_new_line_before_members_in_object_initializers = true
101+
102+
# Indentation options
103+
csharp_indent_case_contents = true
104+
csharp_indent_switch_labels = true
105+
csharp_indent_labels = flush_left
106+
107+
# Spacing options
108+
csharp_space_after_cast = false
109+
csharp_space_after_keywords_in_control_flow_statements = true
110+
csharp_space_between_method_declaration_parameter_list_parentheses = false
111+
csharp_space_between_method_call_parameter_list_parentheses = false
112+
csharp_space_between_parentheses = false
113+
114+
# Wrapping options
115+
csharp_preserve_single_line_statements = false
116+
csharp_preserve_single_line_blocks = true
117+
118+
indent_size = 4
119+
120+
# Sort using and Import directives with System.* appearing first
121+
dotnet_sort_system_directives_first = true
122+
123+
# Avoid "this." and "Me." if not necessary
124+
dotnet_style_qualification_for_field = false:suggestion
125+
dotnet_style_qualification_for_property = false:suggestion
126+
dotnet_style_qualification_for_method = false:suggestion
127+
dotnet_style_qualification_for_event = false:suggestion
128+
129+
# Use language keywords instead of framework type names for type references
130+
dotnet_style_predefined_type_for_locals_parameters_members = true:error
131+
dotnet_style_predefined_type_for_member_access = true:error
132+
133+
# Suggest more modern language features when available
134+
dotnet_style_object_initializer = true:suggestion
135+
dotnet_style_collection_initializer = true:suggestion
136+
dotnet_style_coalesce_expression = true:suggestion
137+
dotnet_style_null_propagation = true:suggestion
138+
dotnet_style_explicit_tuple_names = true:suggestion
139+
140+
# Prefer "var" everywhere
141+
csharp_style_var_for_built_in_types = true:suggestion
142+
csharp_style_var_when_type_is_apparent = true:suggestion
143+
csharp_style_var_elsewhere = false:error
144+
145+
# Prefer method-like constructs to have a block body
146+
csharp_style_expression_bodied_methods = false:none
147+
csharp_style_expression_bodied_constructors = false:none
148+
csharp_style_expression_bodied_operators = false:none
149+
150+
# Prefer property-like constructs to have an expression-body
151+
csharp_style_expression_bodied_properties = true:none
152+
csharp_style_expression_bodied_indexers = true:none
153+
csharp_style_expression_bodied_accessors = true:none
154+
155+
# Suggest more modern language features when available
156+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
157+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
158+
csharp_style_inlined_variable_declaration = true:suggestion
159+
csharp_style_throw_expression = true:suggestion
160+
csharp_style_conditional_delegate_call = true:suggestion
161+
162+
# Newline settings
163+
csharp_new_line_before_open_brace = all
164+
csharp_new_line_before_else = true
165+
csharp_new_line_before_catch = true
166+
csharp_new_line_before_finally = true
167+
csharp_new_line_before_members_in_object_initializers = true
168+
csharp_new_line_before_members_in_anonymous_types = true
169+
170+
dotnet_style_require_accessibility_modifiers = always

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Summary of the changes (Less than 80 chars)
2+
3+
- Detail 1
4+
- Detail 2
5+
6+
Addresses #bugnumber (in this specific format)

.gitignore

Lines changed: 52 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ bld/
2424
[Oo]bj/
2525
[Ll]og/
2626

27-
# Visual Studio 2015 cache/options directory
27+
# Visual Studio 2015/2017 cache/options directory
2828
.vs/
2929
# Uncomment if you have tasks that create the project's static files in wwwroot
3030
#wwwroot/
3131

32+
# Visual Studio 2017 auto generated files
33+
Generated\ Files/
34+
3235
# MSTest test Results
3336
[Tt]est[Rr]esult*/
3437
[Bb]uild[Ll]og.*
@@ -42,20 +45,29 @@ TestResult.xml
4245
[Rr]eleasePS/
4346
dlldata.c
4447

48+
# Benchmark Results
49+
BenchmarkDotNet.Artifacts/
50+
4551
# .NET Core
4652
project.lock.json
4753
project.fragment.lock.json
4854
artifacts/
4955
**/Properties/launchSettings.json
5056

57+
# StyleCop
58+
StyleCopReport.xml
59+
60+
# Files built by Visual Studio
5161
*_i.c
5262
*_p.c
5363
*_i.h
5464
*.ilk
5565
*.meta
5666
*.obj
67+
*.iobj
5768
*.pch
5869
*.pdb
70+
*.ipdb
5971
*.pgc
6072
*.pgd
6173
*.rsp
@@ -93,6 +105,9 @@ ipch/
93105
*.vspx
94106
*.sap
95107

108+
# Visual Studio Trace Files
109+
*.e2e
110+
96111
# TFS 2012 Local Workspace
97112
$tf/
98113

@@ -113,6 +128,10 @@ _TeamCity*
113128
# DotCover is a Code Coverage Tool
114129
*.dotCover
115130

131+
# AxoCover is a Code Coverage Tool
132+
.axoCover/*
133+
!.axoCover/settings.json
134+
116135
# Visual Studio code coverage results
117136
*.coverage
118137
*.coveragexml
@@ -148,7 +167,7 @@ publish/
148167
# Publish Web Output
149168
*.[Pp]ublish.xml
150169
*.azurePubxml
151-
# TODO: Comment the next line if you want to checkin your web deploy settings
170+
# Note: Comment the next line if you want to checkin your web deploy settings,
152171
# but database connection strings (with potential passwords) will be unencrypted
153172
*.pubxml
154173
*.publishproj
@@ -161,11 +180,11 @@ PublishScripts/
161180
# NuGet Packages
162181
*.nupkg
163182
# The packages folder can be ignored because of Package Restore
164-
**/packages/*
183+
**/[Pp]ackages/*
165184
# except build/, which is used as an MSBuild target.
166-
!**/packages/build/
185+
!**/[Pp]ackages/build/
167186
# Uncomment if necessary however generally it will be regenerated when needed
168-
#!**/packages/repositories.config
187+
#!**/[Pp]ackages/repositories.config
169188
# NuGet v3's project.json files produces more ignorable files
170189
*.nuget.props
171190
*.nuget.targets
@@ -183,6 +202,7 @@ AppPackages/
183202
BundleArtifacts/
184203
Package.StoreAssociation.xml
185204
_pkginfo.txt
205+
*.appx
186206

187207
# Visual Studio cache files
188208
# files ending in .cache can be ignored
@@ -201,6 +221,10 @@ ClientBin/
201221
*.publishsettings
202222
orleans.codegen.cs
203223

224+
# Including strong name files can present a security risk
225+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
226+
#*.snk
227+
204228
# Since there are multiple workflows, uncomment next line to ignore bower_components
205229
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
206230
#bower_components/
@@ -215,6 +239,8 @@ _UpgradeReport_Files/
215239
Backup*/
216240
UpgradeLog*.XML
217241
UpgradeLog*.htm
242+
ServiceFabricBackup/
243+
*.rptproj.bak
218244

219245
# SQL Server files
220246
*.mdf
@@ -225,6 +251,7 @@ UpgradeLog*.htm
225251
*.rdl.data
226252
*.bim.layout
227253
*.bim_*.settings
254+
*.rptproj.rsuser
228255

229256
# Microsoft Fakes
230257
FakesAssemblies/
@@ -236,9 +263,6 @@ FakesAssemblies/
236263
.ntvs_analysis.dat
237264
node_modules/
238265

239-
# Typescript v1 declaration files
240-
typings/
241-
242266
# Visual Studio 6 build log
243267
*.plg
244268

@@ -278,6 +302,9 @@ __pycache__/
278302
# tools/**
279303
# !tools/packages.config
280304

305+
# Tabs Studio
306+
*.tss
307+
281308
# Telerik's JustMock configuration file
282309
*.jmconfig
283310

@@ -287,18 +314,26 @@ __pycache__/
287314
*.odx.cs
288315
*.xsd.cs
289316

290-
lcov.info
291-
coverage.json
292-
.DS_Store
317+
# OpenCover UI analysis results
318+
OpenCover/
319+
320+
# Azure Stream Analytics local run output
321+
ASALocalRun/
322+
323+
# MSBuild Binary and Structured Log
324+
*.binlog
325+
326+
# NVidia Nsight GPU debugger configuration file
327+
*.nvuser
328+
329+
# MFractors (Xamarin productivity tool) working folder
330+
.mfractor/
293331

294-
BenchmarkDotNet.Artifacts
295332
.sonarqube/
296-
.testresults
297333

298-
# Build related
334+
testoutput/
335+
299336
tools/**
300337
!tools/packages.config
301338

302-
testoutput/
303-
artifacts/
304-
.packages
339+
__mismatch__/

0 commit comments

Comments
 (0)