-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v0.10.0' into main
- Loading branch information
Showing
21 changed files
with
2,342 additions
and
251 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,260 @@ | ||
# NOTE: Requires **VS2019 16.3** or later | ||
|
||
# GrasshopperBootstrap Rules | ||
# Description: The standard Microsoft reccomended rules with overrides especially relevant to plugin development. | ||
|
||
# Code files | ||
[*.{cs,vb}] | ||
|
||
dotnet_diagnostic.CA1001.severity = warning | ||
dotnet_diagnostic.CA1009.severity = warning | ||
dotnet_diagnostic.CA1016.severity = warning | ||
dotnet_diagnostic.CA1033.severity = warning | ||
dotnet_diagnostic.CA1049.severity = warning | ||
dotnet_diagnostic.CA1051.severity = none | ||
dotnet_diagnostic.CA1060.severity = warning | ||
dotnet_diagnostic.CA1061.severity = warning | ||
dotnet_diagnostic.CA1062.severity = silent | ||
dotnet_diagnostic.CA1063.severity = warning | ||
dotnet_diagnostic.CA1065.severity = warning | ||
dotnet_diagnostic.CA1301.severity = warning | ||
dotnet_diagnostic.CA1303.severity = none | ||
dotnet_diagnostic.CA1305.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.CA1821.severity = warning | ||
dotnet_diagnostic.CA1900.severity = warning | ||
dotnet_diagnostic.CA1901.severity = warning | ||
dotnet_diagnostic.CA2002.severity = warning | ||
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 = warning | ||
dotnet_diagnostic.CA2202.severity = warning | ||
dotnet_diagnostic.CA2207.severity = warning | ||
dotnet_diagnostic.CA2212.severity = warning | ||
dotnet_diagnostic.CA2213.severity = warning | ||
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.SA0001.severity = none | ||
dotnet_diagnostic.SA1101.severity = none | ||
dotnet_diagnostic.SA1108.severity = none | ||
dotnet_diagnostic.SA1116.severity = none | ||
dotnet_diagnostic.SA1117.severity = none | ||
dotnet_diagnostic.SA1118.severity = none | ||
dotnet_diagnostic.SA1122.severity = none | ||
dotnet_diagnostic.SA1127.severity = none | ||
dotnet_diagnostic.SA1128.severity = none | ||
dotnet_diagnostic.SA1132.severity = none | ||
dotnet_diagnostic.SA1133.severity = none | ||
dotnet_diagnostic.SA1201.severity = none | ||
dotnet_diagnostic.SA1202.severity = none | ||
dotnet_diagnostic.SA1203.severity = none | ||
dotnet_diagnostic.SA1204.severity = none | ||
dotnet_diagnostic.SA1214.severity = none | ||
dotnet_diagnostic.SA1309.severity = none | ||
dotnet_diagnostic.SA1401.severity = none | ||
dotnet_diagnostic.SA1402.severity = none | ||
dotnet_diagnostic.SA1404.severity = none | ||
dotnet_diagnostic.SA1407.severity = none | ||
dotnet_diagnostic.SA1413.severity = none | ||
dotnet_diagnostic.SA1501.severity = none | ||
dotnet_diagnostic.SA1502.severity = none | ||
dotnet_diagnostic.SA1503.severity = suggestion | ||
dotnet_diagnostic.SA1512.severity = none | ||
dotnet_diagnostic.SA1515.severity = none | ||
dotnet_diagnostic.SA1516.severity = none | ||
dotnet_diagnostic.SA1519.severity = suggestion | ||
dotnet_diagnostic.SA1600.severity = none | ||
dotnet_diagnostic.SA1601.severity = none | ||
dotnet_diagnostic.SA1602.severity = none | ||
dotnet_diagnostic.SA1604.severity = none | ||
dotnet_diagnostic.SA1605.severity = suggestion | ||
dotnet_diagnostic.SA1606.severity = suggestion | ||
dotnet_diagnostic.SA1607.severity = suggestion | ||
dotnet_diagnostic.SA1608.severity = suggestion | ||
dotnet_diagnostic.SA1610.severity = suggestion | ||
dotnet_diagnostic.SA1611.severity = suggestion | ||
dotnet_diagnostic.SA1612.severity = suggestion | ||
dotnet_diagnostic.SA1613.severity = suggestion | ||
dotnet_diagnostic.SA1614.severity = suggestion | ||
dotnet_diagnostic.SA1615.severity = suggestion | ||
dotnet_diagnostic.SA1616.severity = suggestion | ||
dotnet_diagnostic.SA1617.severity = suggestion | ||
dotnet_diagnostic.SA1618.severity = suggestion | ||
dotnet_diagnostic.SA1619.severity = suggestion | ||
dotnet_diagnostic.SA1620.severity = suggestion | ||
dotnet_diagnostic.SA1621.severity = suggestion | ||
dotnet_diagnostic.SA1622.severity = suggestion | ||
dotnet_diagnostic.SA1623.severity = suggestion | ||
dotnet_diagnostic.SA1624.severity = suggestion | ||
dotnet_diagnostic.SA1625.severity = suggestion | ||
dotnet_diagnostic.SA1633.severity = none | ||
dotnet_diagnostic.SA1634.severity = none | ||
dotnet_diagnostic.SA1635.severity = none | ||
dotnet_diagnostic.SA1636.severity = none | ||
dotnet_diagnostic.SA1637.severity = none | ||
dotnet_diagnostic.SA1638.severity = none | ||
dotnet_diagnostic.SA1640.severity = none | ||
dotnet_diagnostic.SA1641.severity = none | ||
dotnet_diagnostic.SA1642.severity = none | ||
dotnet_diagnostic.SA1643.severity = none | ||
dotnet_diagnostic.SA1649.severity = none | ||
|
||
############################### | ||
# Core EditorConfig Options # | ||
############################### | ||
|
||
# All files | ||
[*] | ||
indent_style = space | ||
# Code files | ||
[*.{cs,csx,vb,vbx}] | ||
indent_size = 4 | ||
insert_final_newline = true | ||
charset = utf-8-bom | ||
|
||
############################### | ||
# .NET Coding Conventions # | ||
############################### | ||
|
||
[*.{cs,vb}] | ||
# Organize usings | ||
dotnet_sort_system_directives_first = true | ||
# this. preferences | ||
dotnet_style_qualification_for_field = false:silent | ||
dotnet_style_qualification_for_property = false:silent | ||
dotnet_style_qualification_for_method = false:silent | ||
dotnet_style_qualification_for_event = false:silent | ||
# Language keywords vs BCL types preferences | ||
dotnet_style_predefined_type_for_locals_parameters_members = true:silent | ||
dotnet_style_predefined_type_for_member_access = true:silent | ||
# Parentheses preferences | ||
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent | ||
# Modifier preferences | ||
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent | ||
dotnet_style_readonly_field = true:suggestion | ||
# Expression-level preferences | ||
dotnet_style_object_initializer = true:suggestion | ||
dotnet_style_collection_initializer = true:suggestion | ||
dotnet_style_explicit_tuple_names = true:suggestion | ||
dotnet_style_null_propagation = true:suggestion | ||
dotnet_style_coalesce_expression = true:suggestion | ||
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent | ||
dotnet_style_prefer_inferred_tuple_names = true:suggestion | ||
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion | ||
dotnet_style_prefer_auto_properties = true:silent | ||
dotnet_style_prefer_conditional_expression_over_assignment = true:silent | ||
dotnet_style_prefer_conditional_expression_over_return = true:silent | ||
############################### | ||
# Naming Conventions # | ||
############################### | ||
# Style Definitions | ||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case | ||
# Use PascalCase for constant fields | ||
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion | ||
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields | ||
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style | ||
dotnet_naming_symbols.constant_fields.applicable_kinds = field | ||
dotnet_naming_symbols.constant_fields.applicable_accessibilities = * | ||
dotnet_naming_symbols.constant_fields.required_modifiers = const | ||
############################### | ||
# C# Coding Conventions # | ||
############################### | ||
[*.cs] | ||
# var preferences | ||
csharp_style_var_for_built_in_types = true:silent | ||
csharp_style_var_when_type_is_apparent = true:silent | ||
csharp_style_var_elsewhere = true:silent | ||
# Expression-bodied members | ||
csharp_style_expression_bodied_methods = false:silent | ||
csharp_style_expression_bodied_constructors = false:silent | ||
csharp_style_expression_bodied_operators = false:silent | ||
csharp_style_expression_bodied_properties = true:silent | ||
csharp_style_expression_bodied_indexers = true:silent | ||
csharp_style_expression_bodied_accessors = true:silent | ||
# Pattern matching preferences | ||
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion | ||
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion | ||
# Null-checking preferences | ||
csharp_style_throw_expression = true:suggestion | ||
csharp_style_conditional_delegate_call = true:suggestion | ||
# Modifier preferences | ||
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion | ||
# Expression-level preferences | ||
csharp_prefer_braces = true:silent | ||
csharp_style_deconstructed_variable_declaration = true:suggestion | ||
csharp_prefer_simple_default_expression = true:suggestion | ||
csharp_style_pattern_local_over_anonymous_function = true:suggestion | ||
csharp_style_inlined_variable_declaration = true:suggestion | ||
|
||
############################### | ||
# C# Formatting Rules # | ||
############################### | ||
|
||
# New line preferences | ||
csharp_new_line_before_open_brace = all | ||
csharp_new_line_before_else = true | ||
csharp_new_line_before_catch = true | ||
csharp_new_line_before_finally = true | ||
csharp_new_line_before_members_in_object_initializers = true | ||
csharp_new_line_before_members_in_anonymous_types = true | ||
csharp_new_line_between_query_expression_clauses = true | ||
# Indentation preferences | ||
csharp_indent_case_contents = true | ||
csharp_indent_switch_labels = true | ||
csharp_indent_labels = flush_left | ||
# Space preferences | ||
csharp_space_after_cast = false | ||
csharp_space_after_keywords_in_control_flow_statements = true | ||
csharp_space_between_method_call_parameter_list_parentheses = false | ||
csharp_space_between_method_declaration_parameter_list_parentheses = false | ||
csharp_space_between_parentheses = false | ||
csharp_space_before_colon_in_inheritance_clause = true | ||
csharp_space_after_colon_in_inheritance_clause = true | ||
csharp_space_around_binary_operators = before_and_after | ||
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false | ||
csharp_space_between_method_call_name_and_opening_parenthesis = false | ||
csharp_space_between_method_call_empty_parameter_list_parentheses = false | ||
# Wrapping preferences | ||
csharp_preserve_single_line_statements = true | ||
csharp_preserve_single_line_blocks = true |
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 |
---|---|---|
|
@@ -36,11 +36,15 @@ jobs: | |
|
||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | ||
- name: Setup MSBuild.exe | ||
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16 | ||
uses: microsoft/[email protected] | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | ||
|
||
# Add NuGet to the PATH: https://github.com/marketplace/actions/setup-nuget-exe-for-use-with-actions | ||
- name: Setup NuGet | ||
uses: NuGet/setup-nuget@v1 | ||
uses: NuGet/[email protected] | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | ||
|
||
# Restore NuGet packages | ||
- name: Restore the application | ||
|
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,29 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
|
||
|
||
## [0.10.0] - 2021-04-11 | ||
|
||
### Added | ||
|
||
- Option to ingest a CHANGELOG in the About component | ||
- Tests (in Grasshopper) for the About component | ||
|
||
### Changed | ||
|
||
- Rework debug builds to default to Rhino 7 | ||
|
||
### Fixed | ||
|
||
- Fixed build process | ||
|
||
## [0.9.0] - 2020-08-15 | ||
|
||
Initial release |
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
Oops, something went wrong.