Organize async methods naming rule
This commit is contained in:
Родитель
29dc0aa9c5
Коммит
9dbda2f9e0
|
@ -138,13 +138,15 @@ dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = priva
|
|||
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
|
||||
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
|
||||
|
||||
# Async suffix
|
||||
# async methods should end with Async suffix
|
||||
dotnet_naming_rule.async_methods_end_with_async.severity = warning
|
||||
dotnet_naming_rule.async_methods_end_with_async.symbols = any_async_methods
|
||||
dotnet_naming_rule.async_methods_end_with_async.style = end_with_async
|
||||
dotnet_naming_rule.async_methods_end_with_async.severity = warning
|
||||
|
||||
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
|
||||
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
|
||||
dotnet_naming_symbols.any_async_methods.required_modifiers = async
|
||||
|
||||
dotnet_naming_style.end_with_async.required_suffix = Async
|
||||
dotnet_naming_style.end_with_async.capitalization = pascal_case
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче