3 Star 5 Fork 1

似水年华/MagicOnion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.editorconfig 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
Mayuki Sawatari 提交于 2023-10-25 13:40 +08:00 . Update .editorconfig
root = true
[*]
indent_style = space
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true
[*.cs]
charset = utf-8
indent_style = space
indent_size = 4
csharp_style_namespace_declarations = file_scoped:warning
#dotnet_style_require_accessibility_modifiers = never:suggestion
# ReSharper properties
resharper_default_private_modifier = implicit
# internal and private fields should be camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = warning
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
dotnet_naming_style.camel_case_style.required_prefix =
dotnet_naming_style.camel_case_style.capitalization = camel_case
# Nullable Reference Type
# CS8618: Non-nullable field is uninitialized. Consider declaring as nullable.
dotnet_diagnostic.cs8618.severity = error
# CS8604: Possible null reference argument.
dotnet_diagnostic.cs8604.severity = error
# CS8629: Nullable value type may be null.
dotnet_diagnostic.cs8629.severity = error
# CS8600: Converting null literal or possible null value to non-nullable type.
dotnet_diagnostic.cs8600.severity = error
# CS8603: Possible null reference return.
dotnet_diagnostic.cs8603.severity = error
# CS8610: Nullability of reference types in type of parameter doesn't match overridden member.
dotnet_diagnostic.cs8610.severity = error
# CS8625: Cannot convert null literal to non-nullable reference type.
dotnet_diagnostic.cs8625.severity = error
# CS8606: Possible null reference assignment to iteration variable
dotnet_diagnostic.cs8606.severity = error
# CS8602: Dereference of a possibly null reference.
dotnet_diagnostic.cs8602.severity = error
# CS8601: Possible null reference assignment.
dotnet_diagnostic.cs8601.severity = error
# CS8614: Nullability of reference types in type of parameter doesn't match implicitly implemented member.
dotnet_diagnostic.cs8614.severity = error
[{src/MagicOnion.Client/**.cs,src/MagicOnion.Shared/**.cs,src/MagicOnion.Abstractions/**.cs}]
# Lower language support for code shared with code for Unity
csharp_style_namespace_declarations = block_scoped
[*.{csproj,props,targets}]
charset = utf-8
indent_style = space
indent_size = 2
[Dockerfile]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
[*.{sh,yaml,yml,rules}]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/yulou/MagicOnion.git
git@gitee.com:yulou/MagicOnion.git
yulou
MagicOnion
MagicOnion
main

搜索帮助