A very generic .editorconfig file supporting .NET, C#, VB and web technologies.
MIT License
Bot releases are hidden (Show)
Published by RehanSaeed over 4 years ago
dotnet_style_prefer_simplified_interpolation = true:warning
(https://github.com/dotnet/roslyn/pull/40070)..jsm
file extension..vbx
file extension to match .csx
..vcxproj
file extension.Published by RehanSaeed over 4 years ago
Published by RehanSaeed about 5 years ago
Published by RehanSaeed about 5 years ago
Published by RehanSaeed about 5 years ago
end_of_line
settings. Rely on .gitattributes
to deal with line endings depending on operating system as described in .gitattributes Best Practices. See https://github.com/RehanSaeed/EditorConfig/pull/14.insert_final_newline = true
for all text files to prevent issues with some tools, mostly on unix based operating systems. See https://github.com/RehanSaeed/EditorConfig/pull/13.Published by RehanSaeed about 5 years ago
dotnet_style_prefer_compound_assignment
to prefer ++x
over x + 1
.dotnet_code_quality_unused_parameters
. Duplicates StyleCop rule I think to remove unused parameters.csharp_style_expression_bodied_lambdas
and chsarp_style_expression_bodied_local_functions
to apply expression bodied members in even more places.csharp_style_unused_value_expression_statement_preference
and csharp_style_unused_value_assignment_preference
to prefer discards over unused variables.csharp_style_prefer_index_operator
and csharp_style_prefer_range_operator
to prefer the new index and range operators.csharp_prefer_static_local_function
to prefer local functions to be static where possible.csharp_prefer_simple_using_statement
to prefer not to use the new simpler using statements. Contravercial??? I'm worried this new feature can introduce bugs.csharp_indent_case_contents_when_block
to not indent case
blocks.csharp_space_around_declaration_statements
to use a valid value as it is now documented.csharp_style_deconstructed_variable_declaration
csharp_style_pattern_local_over_anonymous_function
csharp_using_directive_placement
csharp_indent_block_contents
csharp_indent_braces
csharp_space_between_method_declaration_parameter_list_parentheses
csharp_space_between_method_declaration_name_and_open_parenthesis
csharp_space_between_method_call_parameter_list_parentheses
csharp_space_between_method_call_empty_parameter_list_parentheses
csharp_space_before_comma
csharp_space_before_dot
csharp_space_around_declaration_statements
Published by RehanSaeed about 5 years ago
dotnet_style_operator_placement_when_wrapping
. See https://github.com/MicrosoftDocs/visualstudio-docs/issues/3641.csharp_space_after_comma
and csharp_space_after_dot
into documented section.