Skip to content

Releases: RehanSaeed/EditorConfig

1.5.0

09 Mar 15:50
c532ac5
Compare
Choose a tag to compare
  • Add dotnet_style_prefer_simplified_interpolation = true:warning (dotnet/roslyn#40070).
  • Add JavaScript modules .jsm file extension.
  • Add .webmanifest JSON file extension.
  • Add .vbx file extension to match .csx.
  • Remove duplicate .vcxproj file extension.

1.4.0

30 Jan 08:56
Compare
Choose a tag to compare
  • Prefer Simple using Statements as Suggestions #23

1.3.2

13 Sep 10:39
0ea7156
Compare
Choose a tag to compare
  • .cmd and .bat files should use CRLF line endings (#19).

1.3.1

19 Aug 09:07
b483d15
Compare
Choose a tag to compare
  • Remove language specified for reference URL links in comments.
  • Fix PascalCase comment.

1.3.0

08 Aug 09:37
a03e956
Compare
Choose a tag to compare
  • Removed all end_of_line settings. Rely on .gitattributes to deal with line endings depending on operating system as described in .gitattributes Best Practices. See #14.
  • Enable insert_final_newline = true for all text files to prevent issues with some tools, mostly on unix based operating systems. See #13.
  • Made discards a suggestion instead of a warning in #17.

1.2.0

23 Jul 08:04
Compare
Choose a tag to compare
  • 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.

1.1.0

22 Jul 10:25
Compare
Choose a tag to compare