Skip to content

Commit 9a1ebfe

Browse files
Merge pull request #3544 from petercrabtree/dev/dev-env-clean
Minor Dev Environment Fixes (.editorconfig cleanup, typo fix, .gitignore tweak)
2 parents ff24716 + 471130a commit 9a1ebfe

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

.editorconfig

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ csharp_space_after_dot = false
106106
csharp_space_after_keywords_in_control_flow_statements = true
107107
csharp_space_after_semicolon_in_for_statement = true
108108
csharp_space_around_binary_operators = before_and_after
109-
csharp_space_around_declaration_statements = do_not_ignore
109+
csharp_space_around_declaration_statements = false
110110
csharp_space_before_colon_in_inheritance_clause = true
111111
csharp_space_before_comma = false
112112
csharp_space_before_dot = false
@@ -179,25 +179,18 @@ csharp_style_prefer_not_pattern = true:suggestion
179179
csharp_style_prefer_extended_property_pattern = true:suggestion
180180

181181
dotnet_style_operator_placement_when_wrapping = beginning_of_line
182-
dotnet_style_coalesce_expression = true:suggestion
183-
dotnet_style_null_propagation = true:suggestion
184182
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
185183
dotnet_style_prefer_auto_properties = true:silent
186-
dotnet_style_object_initializer = true:suggestion
187-
dotnet_style_collection_initializer = true:suggestion
188184
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
189185
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
190186
dotnet_style_prefer_conditional_expression_over_return = true:silent
191-
dotnet_style_explicit_tuple_names = true:suggestion
192187
dotnet_style_prefer_inferred_tuple_names = true:suggestion
193188
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
194189
dotnet_style_prefer_compound_assignment = true:suggestion
195190
dotnet_style_prefer_simplified_interpolation = true:suggestion
196191
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
197192
dotnet_style_namespace_match_folder = true:suggestion
198193
dotnet_style_readonly_field = true:suggestion
199-
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
200-
dotnet_style_predefined_type_for_member_access = true:silent
201194
dotnet_style_require_accessibility_modifiers = omit_if_default:suggestion
202195
dotnet_style_allow_multiple_blank_lines_experimental = false:warning
203196
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
@@ -206,10 +199,7 @@ dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:sil
206199
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
207200
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
208201
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
209-
dotnet_style_qualification_for_field = false:silent
210-
dotnet_style_qualification_for_property = false:silent
211-
dotnet_style_qualification_for_method = false:silent
212-
dotnet_style_qualification_for_event = false:silent
202+
213203

214204
# Errors and warnings
215205

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ multitargeting.props
1919
ILSpy.Installer/wix/
2020
/VERSION
2121
/ICSharpCode.Decompiler/Properties/DecompilerVersionInfo.cs
22-
*/.vscode/
22+
**/.vscode/
2323
DecompilerTests.config.json
2424
*.trx

ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class ILSpyCmdProgram
149149
[Option(generateDiagrammerCmd + "-report-excluded", "Outputs a report of types excluded from the generated diagrammer" +
150150
$" - whether by default because compiler-generated, explicitly by '{exclude}' or implicitly by '{include}'." +
151151
" You may find this useful to develop and debug your regular expressions.", CommandOptionType.NoValue)]
152-
public bool ReportExludedTypes { get; set; }
152+
public bool ReportExcludedTypes { get; set; }
153153

154154
[Option(generateDiagrammerCmd + "-docs", "The path or file:// URI of the XML file containing the target assembly's documentation comments." +
155155
" You only need to set this if a) you want your diagrams annotated with them and b) the file name differs from that of the assmbly." +
@@ -221,7 +221,7 @@ private async Task<int> OnExecuteAsync(CommandLineApplication app)
221221
OutputFolder = OutputDirectory,
222222
Include = Include,
223223
Exclude = Exclude,
224-
ReportExludedTypes = ReportExludedTypes,
224+
ReportExcludedTypes = ReportExcludedTypes,
225225
JsonOnly = JsonOnly,
226226
XmlDocs = XmlDocs,
227227
StrippedNamespaces = StrippedNamespaces

ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public partial class GenerateHtmlDiagrammer
3232
public string? Include { get; set; }
3333
public string? Exclude { get; set; }
3434
public bool JsonOnly { get; set; }
35-
public bool ReportExludedTypes { get; set; }
35+
public bool ReportExcludedTypes { get; set; }
3636
public string? XmlDocs { get; set; }
3737

3838
/// <summary>Namespaces to strip from <see cref="XmlDocs"/>.

ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private void GenerateOutput(string assemblyPath, ClassDiagrammer model)
127127
Debug.WriteLine("Successfully generated HTML diagrammer.");
128128
}
129129

130-
if (ReportExludedTypes)
130+
if (ReportExcludedTypes)
131131
{
132132
string excludedTypes = model.Excluded.Join(Environment.NewLine);
133133
File.WriteAllText(Path.Combine(outputFolder, "excluded types.txt"), excludedTypes);

0 commit comments

Comments
 (0)