Skip to content

Commit

Permalink
2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
na1307 committed Dec 22, 2023
1 parent 34ce1f8 commit c8072b3
Show file tree
Hide file tree
Showing 28 changed files with 50 additions and 557 deletions.
29 changes: 17 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ dotnet_style_null_propagation = true
dotnet_style_object_initializer = true
dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_prefer_auto_properties = true
dotnet_style_prefer_collection_expression = true
dotnet_style_prefer_compound_assignment = true
dotnet_style_prefer_conditional_expression_over_assignment = true
dotnet_style_prefer_conditional_expression_over_return = true
Expand All @@ -67,7 +68,7 @@ dotnet_style_readonly_field = true
dotnet_code_quality_unused_parameters = all

# 비표시 오류(Suppression) 기본 설정
dotnet_remove_unnecessary_suppression_exclusions = 0
dotnet_remove_unnecessary_suppression_exclusions = none

# 새 줄 기본 설정
dotnet_style_allow_multiple_blank_lines_experimental = false
Expand All @@ -76,19 +77,19 @@ dotnet_style_allow_statement_immediately_after_block_experimental = false
#### C# 코딩 규칙 ####

# var 기본 설정
csharp_style_var_elsewhere = true
csharp_style_var_elsewhere = false
csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true

# 식 본문 멤버
csharp_style_expression_bodied_accessors = true
csharp_style_expression_bodied_constructors = true
csharp_style_expression_bodied_indexers = true
csharp_style_expression_bodied_lambdas = true
csharp_style_expression_bodied_local_functions = true
csharp_style_expression_bodied_methods = true
csharp_style_expression_bodied_operators = true
csharp_style_expression_bodied_properties = true
csharp_style_expression_bodied_accessors = when_on_single_line
csharp_style_expression_bodied_constructors = false
csharp_style_expression_bodied_indexers = when_on_single_line
csharp_style_expression_bodied_lambdas = when_on_single_line
csharp_style_expression_bodied_local_functions = when_on_single_line
csharp_style_expression_bodied_methods = false
csharp_style_expression_bodied_operators = false
csharp_style_expression_bodied_properties = when_on_single_line

# 패턴 일치 기본 설정
csharp_style_pattern_matching_over_as_with_null_check = true
Expand All @@ -102,15 +103,17 @@ csharp_style_prefer_switch_expression = true
csharp_style_conditional_delegate_call = true

# 한정자 기본 설정
csharp_prefer_static_local_function = true
csharp_prefer_static_local_function = false
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async
csharp_style_prefer_readonly_struct = true
csharp_style_prefer_readonly_struct_member = true

# 코드 블록 기본 설정
csharp_prefer_braces = false
csharp_prefer_simple_using_statement = true
csharp_style_namespace_declarations = file_scoped
csharp_style_prefer_method_group_conversion = true
csharp_style_prefer_primary_constructors = false
csharp_style_prefer_top_level_statements = true

# 식 수준 기본 설정
Expand All @@ -119,7 +122,7 @@ csharp_style_deconstructed_variable_declaration = true
csharp_style_implicit_object_creation_when_type_is_apparent = true
csharp_style_inlined_variable_declaration = true
csharp_style_prefer_index_operator = true
csharp_style_prefer_local_over_anonymous_function = true
csharp_style_prefer_local_over_anonymous_function = false
csharp_style_prefer_null_check_over_type_check = true
csharp_style_prefer_range_operator = true
csharp_style_prefer_tuple_swap = true
Expand All @@ -133,6 +136,8 @@ csharp_using_directive_placement = outside_namespace

# 새 줄 기본 설정
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
csharp_style_allow_embedded_statements_on_same_line_experimental = true

Expand Down
15 changes: 0 additions & 15 deletions .sonarlint/Bluehill.Deconstructors.slconfig

This file was deleted.

89 changes: 0 additions & 89 deletions .sonarlint/na1307_bluehill.deconstructors/CSharp/SonarLint.xml

This file was deleted.

Loading

0 comments on commit c8072b3

Please sign in to comment.