-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
558 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
max_line_length = 180 | ||
|
||
# XML based formats | ||
[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,jsproj,lsproj,njsproj,nuspec,proj,props,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
ij_xml_space_inside_empty_tag = true | ||
ij_xml_keep_blank_lines = 1 | ||
|
||
# JSON based formats | ||
[*.{json,resjson}] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
|
||
# Web languages | ||
[*.{css,htm,html,js}] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
|
||
# Programming languages | ||
[*.{asax,ascx,aspx,axaml,cs,cshtml}] | ||
indent_style = space | ||
indent_size = 4 | ||
tab_width = 4 | ||
|
||
# Analyzer settings | ||
roslynator_accessibility_modifiers = explicit | ||
roslynator_enum_has_flag_style = method | ||
roslynator_object_creation_type_style = explicit | ||
roslynator_use_var_instead_of_implicit_object_creation = false | ||
csharp_style_namespace_declarations = file_scoped:error | ||
dotnet_public_api_analyzer.require_api_files = true # Disable the requirement for projects to have a PublicAPI.Shipped.txt file | ||
|
||
# Csharp styles | ||
csharp_new_line_before_members_in_object_initializers = false | ||
csharp_preferred_modifier_order = public, private, protected, internal, new, sealed, static, unsafe, override, extern, async, virtual, abstract, volatile, readonly:suggestion | ||
csharp_preserve_single_line_blocks = true | ||
csharp_space_after_cast = false | ||
csharp_style_var_elsewhere = false:none | ||
csharp_style_var_when_type_is_apparent = false:none | ||
|
||
# ReSharper properties | ||
resharper_align_multiline_calls_chain = true | ||
resharper_arguments_skip_single = true | ||
resharper_blank_lines_after_block_statements = 0 | ||
resharper_blank_lines_after_start_comment = 0 | ||
resharper_blank_lines_around_auto_property = 1 | ||
resharper_blank_lines_around_property = 1 | ||
resharper_blank_lines_around_single_line_type = 0 | ||
resharper_braces_for_fixed = required_for_multiline | ||
resharper_braces_for_for = required_for_multiline | ||
resharper_braces_for_foreach = required_for_multiline | ||
resharper_braces_for_ifelse = required_for_multiline | ||
resharper_braces_for_lock = required_for_multiline | ||
resharper_braces_for_using = required_for_multiline | ||
resharper_braces_for_while = required_for_multiline | ||
resharper_csharp_blank_lines_around_field = 0 | ||
resharper_csharp_blank_lines_around_invocable = 1 | ||
resharper_csharp_empty_block_style = together_same_line | ||
resharper_csharp_keep_blank_lines_in_code = 1 | ||
resharper_csharp_keep_blank_lines_in_declarations = 1 | ||
resharper_csharp_max_line_length = 2081 | ||
resharper_csharp_space_before_trailing_comment = true | ||
resharper_csharp_wrap_lines = false | ||
resharper_csharp_wrap_parameters_style = chop_if_long | ||
resharper_indent_preprocessor_other = do_not_change | ||
resharper_instance_members_qualify_declared_in = this_class | ||
resharper_keep_existing_attribute_arrangement = true | ||
resharper_keep_existing_enum_arrangement = false | ||
resharper_local_function_body = expression_body | ||
resharper_method_or_operator_body = expression_body | ||
resharper_nested_ternary_style = compact | ||
resharper_object_creation_when_type_evident = explicitly_typed | ||
resharper_place_accessorholder_attribute_on_same_line = false | ||
resharper_place_accessor_attribute_on_same_line = true | ||
resharper_place_expr_accessor_on_single_line = true | ||
resharper_place_expr_method_on_single_line = true | ||
resharper_place_expr_property_on_single_line = true | ||
resharper_place_field_attribute_on_same_line = false | ||
resharper_place_simple_embedded_statement_on_same_line = false | ||
resharper_place_simple_initializer_on_single_line = true | ||
resharper_remove_blank_lines_near_braces_in_code = true | ||
resharper_remove_blank_lines_near_braces_in_declarations = true | ||
resharper_space_after_attributes = false | ||
resharper_space_between_attribute_sections = false | ||
resharper_space_within_empty_braces = false | ||
resharper_space_within_single_line_array_initializer_braces = true | ||
resharper_wrap_object_and_collection_initializer_style = chop_always | ||
resharper_space_before_trailing_comment = true | ||
resharper_xmldoc_indent_text = ZeroIndent | ||
resharper_xmldoc_max_line_length = 300 | ||
resharper_xmldoc_attribute_indent = align_by_first_attribute | ||
resharper_xmldoc_keep_user_linebreaks = true | ||
resharper_parentheses_non_obvious_operations = none, multiplicative, additive, arithmetic, shift, bitwise_and, bitwise_exclusive_or, bitwise_inclusive_or, bitwise | ||
|
||
# Microsoft .NET properties | ||
csharp_style_var_for_built_in_types = false:suggestion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: [Genbox] | ||
github: [ Genbox ] | ||
custom: http://paypal.me/IanQvist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
is_global = true | ||
|
||
# Analyzer rules | ||
dotnet_diagnostic.async001.severity = error | ||
dotnet_diagnostic.async002.severity = error | ||
dotnet_diagnostic.ca1001.severity = warning | ||
dotnet_diagnostic.ca1009.severity = warning | ||
dotnet_diagnostic.ca1012.severity = error | ||
dotnet_diagnostic.ca1016.severity = warning | ||
dotnet_diagnostic.ca1018.severity = error | ||
dotnet_diagnostic.ca1027.severity = error | ||
dotnet_diagnostic.ca1028.severity = none | ||
dotnet_diagnostic.ca1031.severity = none | ||
dotnet_diagnostic.ca1033.severity = warning | ||
dotnet_diagnostic.ca1040.severity = suggestion | ||
dotnet_diagnostic.ca1041.severity = error | ||
dotnet_diagnostic.ca1049.severity = warning | ||
dotnet_diagnostic.ca1054.severity = none | ||
dotnet_diagnostic.ca1056.severity = none | ||
dotnet_diagnostic.ca1060.severity = warning | ||
dotnet_diagnostic.ca1061.severity = warning | ||
dotnet_diagnostic.ca1062.severity = none | ||
dotnet_diagnostic.ca1063.severity = warning | ||
dotnet_diagnostic.ca1065.severity = warning | ||
dotnet_diagnostic.ca1301.severity = warning | ||
dotnet_diagnostic.ca1303.severity = none | ||
dotnet_diagnostic.ca1308.severity = none | ||
dotnet_diagnostic.ca1400.severity = warning | ||
dotnet_diagnostic.ca1401.severity = warning | ||
dotnet_diagnostic.ca1403.severity = warning | ||
dotnet_diagnostic.ca1404.severity = warning | ||
dotnet_diagnostic.ca1405.severity = warning | ||
dotnet_diagnostic.ca1410.severity = warning | ||
dotnet_diagnostic.ca1415.severity = warning | ||
dotnet_diagnostic.ca1507.severity = error | ||
dotnet_diagnostic.ca1707.severity = none | ||
dotnet_diagnostic.ca1712.severity = suggestion | ||
dotnet_diagnostic.ca1716.severity = none | ||
dotnet_diagnostic.ca1720.severity = none | ||
dotnet_diagnostic.ca1724.severity = none | ||
dotnet_diagnostic.ca1813.severity = error | ||
dotnet_diagnostic.ca1816.severity = error | ||
dotnet_diagnostic.ca1819.severity = none | ||
dotnet_diagnostic.ca1821.severity = none | ||
dotnet_diagnostic.ca1825.severity = error | ||
dotnet_diagnostic.ca1900.severity = warning | ||
dotnet_diagnostic.ca1901.severity = warning | ||
dotnet_diagnostic.ca2002.severity = warning | ||
dotnet_diagnostic.ca2007.severity = none | ||
dotnet_diagnostic.ca2009.severity = error | ||
dotnet_diagnostic.ca2100.severity = warning | ||
dotnet_diagnostic.ca2101.severity = warning | ||
dotnet_diagnostic.ca2108.severity = warning | ||
dotnet_diagnostic.ca2111.severity = warning | ||
dotnet_diagnostic.ca2112.severity = warning | ||
dotnet_diagnostic.ca2114.severity = warning | ||
dotnet_diagnostic.ca2116.severity = warning | ||
dotnet_diagnostic.ca2117.severity = warning | ||
dotnet_diagnostic.ca2122.severity = warning | ||
dotnet_diagnostic.ca2123.severity = warning | ||
dotnet_diagnostic.ca2124.severity = warning | ||
dotnet_diagnostic.ca2126.severity = warning | ||
dotnet_diagnostic.ca2131.severity = warning | ||
dotnet_diagnostic.ca2132.severity = warning | ||
dotnet_diagnostic.ca2133.severity = warning | ||
dotnet_diagnostic.ca2134.severity = warning | ||
dotnet_diagnostic.ca2137.severity = warning | ||
dotnet_diagnostic.ca2138.severity = warning | ||
dotnet_diagnostic.ca2140.severity = warning | ||
dotnet_diagnostic.ca2141.severity = warning | ||
dotnet_diagnostic.ca2146.severity = warning | ||
dotnet_diagnostic.ca2147.severity = warning | ||
dotnet_diagnostic.ca2149.severity = warning | ||
dotnet_diagnostic.ca2200.severity = error | ||
dotnet_diagnostic.ca2202.severity = warning | ||
dotnet_diagnostic.ca2207.severity = warning | ||
dotnet_diagnostic.ca2212.severity = warning | ||
dotnet_diagnostic.ca2213.severity = none | ||
dotnet_diagnostic.ca2214.severity = warning | ||
dotnet_diagnostic.ca2216.severity = warning | ||
dotnet_diagnostic.ca2220.severity = warning | ||
dotnet_diagnostic.ca2229.severity = warning | ||
dotnet_diagnostic.ca2231.severity = warning | ||
dotnet_diagnostic.ca2232.severity = warning | ||
dotnet_diagnostic.ca2235.severity = warning | ||
dotnet_diagnostic.ca2236.severity = warning | ||
dotnet_diagnostic.ca2237.severity = warning | ||
dotnet_diagnostic.ca2238.severity = warning | ||
dotnet_diagnostic.ca2240.severity = warning | ||
dotnet_diagnostic.ca2241.severity = warning | ||
dotnet_diagnostic.ca2242.severity = warning | ||
dotnet_diagnostic.cac001.severity = none | ||
dotnet_diagnostic.cac002.severity = none | ||
dotnet_diagnostic.cs0108.severity = error | ||
dotnet_diagnostic.cs0109.severity = error | ||
dotnet_diagnostic.cs0114.severity = error | ||
dotnet_diagnostic.cs0162.severity = error | ||
dotnet_diagnostic.cs0168.severity = error | ||
dotnet_diagnostic.cs0251.severity = error | ||
dotnet_diagnostic.cs0659.severity = error | ||
dotnet_diagnostic.cs0660.severity = error | ||
dotnet_diagnostic.cs1591.severity = none | ||
dotnet_diagnostic.cs1717.severity = error | ||
dotnet_diagnostic.cs1718.severity = error | ||
dotnet_diagnostic.cs8600.severity = error | ||
dotnet_diagnostic.cs8601.severity = error | ||
dotnet_diagnostic.cs8602.severity = error | ||
dotnet_diagnostic.cs8603.severity = error | ||
dotnet_diagnostic.cs8604.severity = error | ||
dotnet_diagnostic.cs8608.severity = error | ||
dotnet_diagnostic.cs8609.severity = error | ||
dotnet_diagnostic.cs8610.severity = error | ||
dotnet_diagnostic.cs8611.severity = error | ||
dotnet_diagnostic.cs8612.severity = error | ||
dotnet_diagnostic.cs8613.severity = error | ||
dotnet_diagnostic.cs8614.severity = error | ||
dotnet_diagnostic.cs8615.severity = error | ||
dotnet_diagnostic.cs8616.severity = error | ||
dotnet_diagnostic.cs8617.severity = error | ||
dotnet_diagnostic.cs8619.severity = error | ||
dotnet_diagnostic.cs8620.severity = error | ||
dotnet_diagnostic.cs8625.severity = error | ||
dotnet_diagnostic.cs8629.severity = error | ||
dotnet_diagnostic.cs8767.severity = error | ||
dotnet_diagnostic.de0001.severity = error | ||
dotnet_diagnostic.de0002.severity = error | ||
dotnet_diagnostic.de0003.severity = error | ||
dotnet_diagnostic.de0004.severity = error | ||
dotnet_diagnostic.de0005.severity = warning | ||
dotnet_diagnostic.de0006.severity = error | ||
dotnet_diagnostic.de0007.severity = error | ||
dotnet_diagnostic.de0008.severity = error | ||
dotnet_diagnostic.de0009.severity = error | ||
dotnet_diagnostic.idisp013.severity = error | ||
dotnet_diagnostic.idisp014.severity = none | ||
dotnet_diagnostic.lindhartanalysermissingawaitwarning.severity = error | ||
dotnet_diagnostic.pc001.severity = none | ||
dotnet_diagnostic.pc002.severity = suggestion | ||
dotnet_diagnostic.pc003.severity = none | ||
dotnet_diagnostic.rcs1015.severity = warning | ||
dotnet_diagnostic.rcs1025.severity = error | ||
dotnet_diagnostic.rcs1042.severity = error | ||
dotnet_diagnostic.rcs1043.severity = suggestion | ||
dotnet_diagnostic.rcs1044.severity = error | ||
dotnet_diagnostic.rcs1046.severity = suggestion | ||
dotnet_diagnostic.rcs1047.severity = error | ||
dotnet_diagnostic.rcs1052.severity = error | ||
dotnet_diagnostic.rcs1062.severity = error | ||
dotnet_diagnostic.rcs1066.severity = error | ||
dotnet_diagnostic.rcs1075.severity = none | ||
dotnet_diagnostic.rcs1079.severity = error | ||
dotnet_diagnostic.rcs1080.severity = warning | ||
dotnet_diagnostic.rcs1093.severity = warning | ||
dotnet_diagnostic.rcs1096.severity = none | ||
dotnet_diagnostic.rcs1097.severity = error | ||
dotnet_diagnostic.rcs1102.severity = none | ||
dotnet_diagnostic.rcs1105.severity = error | ||
dotnet_diagnostic.rcs1106.severity = error | ||
dotnet_diagnostic.rcs1107.severity = error | ||
dotnet_diagnostic.rcs1124.severity = none | ||
dotnet_diagnostic.rcs1124fadeout.severity = none | ||
dotnet_diagnostic.rcs1130.severity = error | ||
dotnet_diagnostic.rcs1141.severity = none | ||
dotnet_diagnostic.rcs1155.severity = error | ||
dotnet_diagnostic.rcs1161.severity = none | ||
dotnet_diagnostic.rcs1163.severity = none | ||
dotnet_diagnostic.rcs1174.severity = none | ||
dotnet_diagnostic.rcs1229.severity = error | ||
dotnet_diagnostic.rcs1194.severity = none | ||
dotnet_diagnostic.rcs1203.severity = error | ||
dotnet_diagnostic.rcs1210.severity = error | ||
dotnet_diagnostic.rcs1214.severity = warning | ||
dotnet_diagnostic.rcs1215.severity = error | ||
dotnet_diagnostic.s1128.severity = none | ||
dotnet_diagnostic.s3925.severity = none | ||
dotnet_diagnostic.serilog001.severity = error | ||
dotnet_diagnostic.cs8632.severity = error | ||
dotnet_diagnostic.refl026.severity = error | ||
dotnet_diagnostic.rcs1123.severity = none | ||
dotnet_diagnostic.ss019.severity = none # Switches must have a default label | ||
dotnet_diagnostic.ss036.severity = none # An enum should explicitly specify its values. | ||
dotnet_diagnostic.ma0097.severity = none # A class that implements IComparable<T> or IComparable should override comparison operators | ||
dotnet_diagnostic.ma0051.severity = none # Method is too long | ||
dotnet_diagnostic.ma0006.severity = none # Use String.Equals instead of equality operator | ||
dotnet_diagnostic.ma0012.severity = none # <Exception> is reserved | ||
dotnet_diagnostic.s112.severity = none # <Exception> is reserved | ||
dotnet_diagnostic.s2479.severity = none # Replace control character at <offset> with control character <character> | ||
dotnet_diagnostic.ca1848.severity = none # Use the LoggerMessage delegates | ||
dotnet_diagnostic.ca1416.severity = none # Validate platform compatibility | ||
dotnet_diagnostic.ma0049.severity = none # Type name should not match containing namespace | ||
dotnet_diagnostic.ma0007.severity = none # Add a comma after the last value | ||
dotnet_diagnostic.ss019.severity = none # Switch is missing a default label. Include this to provide fallback behaviour for any missing cases, including when the upstream API adds them later on. | ||
dotnet_diagnostic.xunit1026.severity = none # Theory methods should use all of their parameters | ||
dotnet_diagnostic.ca1032.severity = none # Implement constructors for exception | ||
dotnet_diagnostic.hlq013.severity = none # Consider using foreach loop | ||
dotnet_diagnostic.ca1019.severity = none # Define accessors for attribute arguments | ||
dotnet_diagnostic.ca1055.severity = none # URI return values should not be strings | ||
dotnet_diagnostic.ca5394.severity = none # Do not use insecure randomness | ||
dotnet_diagnostic.ca1700.severity = none # Do not name enum values 'Reserved' | ||
dotnet_diagnostic.scs0005.severity = none # Weak Random Number Generator | ||
dotnet_diagnostic.s3267.severity = none # Loops should be simplified with "LINQ" expressions | ||
dotnet_diagnostic.ca5351.severity = none # Do Not Use Broken Cryptographic Algorithms | ||
dotnet_diagnostic.scs0006.severity = none # Weak hashing function | ||
dotnet_diagnostic.ca1711.severity = none # Identifiers should not have incorrect suffix | ||
dotnet_diagnostic.s2997.severity = error # "IDisposables" created in a "using" statement should not be returned | ||
dotnet_diagnostic.s125.severity = none # Sections of code should not be commented out | ||
dotnet_diagnostic.syslib1006.severity = none # Multiple logging methods are using event id -1 in class <class> | ||
dotnet_diagnostic.syslib1015.severity = error # Argument '<argument>' is not referenced from the logging message | ||
dotnet_diagnostic.syslib1014.severity = none # Template 'key' is not provided as argument to the logging method (using CS0103 instead) | ||
dotnet_diagnostic.ma0018.severity = none # Do not declare static members on generic types (deprecated; use CA1000 instead) | ||
dotnet_diagnostic.rcs1058.severity = none # Use compound assignment | ||
dotnet_diagnostic.s907.severity = none # "goto" statement should not be used | ||
|
||
# Broken | ||
dotnet_diagnostic.S2589.severity = none # Boolean expressions should not be gratuitous | ||
dotnet_diagnostic.S2583.severity = none # Conditionally executed code should be reachable |
Oops, something went wrong.