-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
seto
committed
Nov 29, 2024
1 parent
dcb6760
commit b08c31c
Showing
35 changed files
with
885 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,133 @@ | ||
[*.cs] | ||
|
||
# WFO1000: A property should determine its property content serialization with the DesignerSerializationVisibilityAttribute, DefaultValueAttribute or the ShouldSerializeProperty method | ||
dotnet_diagnostic.WFO1000.severity = silent | ||
dotnet_diagnostic.WFO1000.severity = silent | ||
[*.cs] | ||
#### 命名スタイル #### | ||
|
||
# 名前付けルール | ||
|
||
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion | ||
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface | ||
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i | ||
|
||
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion | ||
dotnet_naming_rule.types_should_be_pascal_case.symbols = types | ||
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case | ||
|
||
# 記号の仕様 | ||
|
||
dotnet_naming_symbols.interface.applicable_kinds = interface | ||
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected | ||
dotnet_naming_symbols.interface.required_modifiers = | ||
|
||
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum | ||
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected | ||
dotnet_naming_symbols.types.required_modifiers = | ||
|
||
# 命名スタイル | ||
|
||
dotnet_naming_style.begins_with_i.required_prefix = I | ||
dotnet_naming_style.begins_with_i.required_suffix = | ||
dotnet_naming_style.begins_with_i.word_separator = | ||
dotnet_naming_style.begins_with_i.capitalization = pascal_case | ||
|
||
dotnet_naming_style.pascal_case.required_prefix = | ||
dotnet_naming_style.pascal_case.required_suffix = | ||
dotnet_naming_style.pascal_case.word_separator = | ||
dotnet_naming_style.pascal_case.capitalization = pascal_case | ||
csharp_indent_labels = one_less_than_current | ||
csharp_space_around_binary_operators = before_and_after | ||
csharp_using_directive_placement = outside_namespace:silent | ||
csharp_style_conditional_delegate_call = true:suggestion | ||
csharp_style_var_for_built_in_types = false:silent | ||
csharp_style_var_when_type_is_apparent = false:silent | ||
csharp_style_var_elsewhere = false:silent | ||
csharp_prefer_simple_using_statement = true:suggestion | ||
csharp_prefer_braces = true:silent | ||
csharp_style_namespace_declarations = block_scoped:silent | ||
csharp_style_prefer_method_group_conversion = true:silent | ||
csharp_style_prefer_top_level_statements = true:silent | ||
csharp_style_prefer_primary_constructors = true:suggestion | ||
csharp_prefer_system_threading_lock = true:suggestion | ||
csharp_style_prefer_switch_expression = true:suggestion | ||
csharp_style_prefer_pattern_matching = true:silent | ||
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion | ||
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion | ||
csharp_style_prefer_not_pattern = true:suggestion | ||
csharp_style_prefer_extended_property_pattern = true:suggestion | ||
csharp_prefer_static_local_function = true:suggestion | ||
csharp_prefer_static_anonymous_function = true:suggestion | ||
csharp_style_prefer_readonly_struct = true:suggestion | ||
csharp_style_prefer_readonly_struct_member = true:suggestion | ||
csharp_style_expression_bodied_methods = false:silent | ||
csharp_style_expression_bodied_constructors = false:silent | ||
csharp_style_expression_bodied_operators = false:silent | ||
csharp_style_expression_bodied_properties = true:silent | ||
csharp_style_expression_bodied_indexers = true:silent | ||
csharp_style_expression_bodied_accessors = true:silent | ||
|
||
[*.vb] | ||
#### 命名スタイル #### | ||
|
||
# 名前付けルール | ||
|
||
dotnet_naming_rule.interface_should_be_i_で始まる.severity = suggestion | ||
dotnet_naming_rule.interface_should_be_i_で始まる.symbols = interface | ||
dotnet_naming_rule.interface_should_be_i_で始まる.style = i_で始まる | ||
|
||
dotnet_naming_rule.型_should_be_パスカル_ケース.severity = suggestion | ||
dotnet_naming_rule.型_should_be_パスカル_ケース.symbols = 型 | ||
dotnet_naming_rule.型_should_be_パスカル_ケース.style = パスカル_ケース | ||
|
||
dotnet_naming_rule.フィールド以外のメンバー_should_be_パスカル_ケース.severity = suggestion | ||
dotnet_naming_rule.フィールド以外のメンバー_should_be_パスカル_ケース.symbols = フィールド以外のメンバー | ||
dotnet_naming_rule.フィールド以外のメンバー_should_be_パスカル_ケース.style = パスカル_ケース | ||
|
||
# 記号の仕様 | ||
|
||
dotnet_naming_symbols.interface.applicable_kinds = interface | ||
dotnet_naming_symbols.interface.applicable_accessibilities = public, friend, private, protected, protected_friend, private_protected | ||
dotnet_naming_symbols.interface.required_modifiers = | ||
|
||
dotnet_naming_symbols.型.applicable_kinds = class, struct, interface, enum | ||
dotnet_naming_symbols.型.applicable_accessibilities = public, friend, private, protected, protected_friend, private_protected | ||
dotnet_naming_symbols.型.required_modifiers = | ||
|
||
dotnet_naming_symbols.フィールド以外のメンバー.applicable_kinds = property, event, method | ||
dotnet_naming_symbols.フィールド以外のメンバー.applicable_accessibilities = public, friend, private, protected, protected_friend, private_protected | ||
dotnet_naming_symbols.フィールド以外のメンバー.required_modifiers = | ||
|
||
# 命名スタイル | ||
|
||
dotnet_naming_style.i_で始まる.required_prefix = I | ||
dotnet_naming_style.i_で始まる.required_suffix = | ||
dotnet_naming_style.i_で始まる.word_separator = | ||
dotnet_naming_style.i_で始まる.capitalization = pascal_case | ||
|
||
dotnet_naming_style.パスカル_ケース.required_prefix = | ||
dotnet_naming_style.パスカル_ケース.required_suffix = | ||
dotnet_naming_style.パスカル_ケース.word_separator = | ||
dotnet_naming_style.パスカル_ケース.capitalization = pascal_case | ||
|
||
dotnet_naming_style.パスカル_ケース.required_prefix = | ||
dotnet_naming_style.パスカル_ケース.required_suffix = | ||
dotnet_naming_style.パスカル_ケース.word_separator = | ||
dotnet_naming_style.パスカル_ケース.capitalization = pascal_case | ||
|
||
[*.{cs,vb}] | ||
tab_width = 4 | ||
indent_size = 4 | ||
dotnet_style_operator_placement_when_wrapping = beginning_of_line | ||
end_of_line = crlf | ||
dotnet_style_qualification_for_field = false:silent | ||
dotnet_style_qualification_for_property = false:silent | ||
dotnet_style_qualification_for_method = false:silent | ||
dotnet_style_qualification_for_event = false:silent | ||
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent | ||
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent | ||
dotnet_code_quality_unused_parameters = all:suggestion | ||
dotnet_style_readonly_field = true:suggestion | ||
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.