Skip to content

1.2.0

Compare
Choose a tag to compare
@RehanSaeed RehanSaeed released this 23 Jul 08:04
· 26 commits to master since this release
  • Added dotnet_style_prefer_compound_assignment to prefer ++x over x + 1.
  • Added dotnet_code_quality_unused_parameters. Duplicates StyleCop rule I think to remove unused parameters.
  • Added csharp_style_expression_bodied_lambdas and chsarp_style_expression_bodied_local_functions to apply expression bodied members in even more places.
  • Added csharp_style_unused_value_expression_statement_preference and csharp_style_unused_value_assignment_preference to prefer discards over unused variables.
  • Added csharp_style_prefer_index_operator and csharp_style_prefer_range_operator to prefer the new index and range operators.
  • Added csharp_prefer_static_local_function to prefer local functions to be static where possible.
  • Added 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.
  • Added csharp_indent_case_contents_when_block to not indent case blocks.
  • Fixed csharp_space_around_declaration_statements to use a valid value as it is now documented.
  • Moved the following from being listed as undocumented to known sections with links to documentation:
    • 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
  • Fixed a link.