平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.editorconfig 2.7 KiB

4 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [*.cs]
  2. #### Naming styles ####
  3. # Naming rules
  4. dotnet_naming_rule.const_should_be_all_upper.severity = suggestion
  5. dotnet_naming_rule.const_should_be_all_upper.symbols = const
  6. dotnet_naming_rule.const_should_be_all_upper.style = all_upper
  7. dotnet_naming_rule.static_readonly_field_should_be_all_upper.severity = suggestion
  8. dotnet_naming_rule.static_readonly_field_should_be_all_upper.symbols = static_readonly_field
  9. dotnet_naming_rule.static_readonly_field_should_be_all_upper.style = all_upper
  10. dotnet_naming_rule.private_or_internal_field_should_be_private_field.severity = suggestion
  11. dotnet_naming_rule.private_or_internal_field_should_be_private_field.symbols = private_or_internal_field
  12. dotnet_naming_rule.private_or_internal_field_should_be_private_field.style = private_field
  13. # Symbol specifications
  14. dotnet_naming_symbols.const.applicable_kinds = field
  15. dotnet_naming_symbols.const.applicable_accessibilities = *
  16. dotnet_naming_symbols.const.required_modifiers = const
  17. dotnet_naming_symbols.static_readonly_field.applicable_kinds = field
  18. dotnet_naming_symbols.static_readonly_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
  19. dotnet_naming_symbols.static_readonly_field.required_modifiers = readonly, static
  20. dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
  21. dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
  22. dotnet_naming_symbols.private_or_internal_field.required_modifiers =
  23. # Naming styles
  24. dotnet_naming_style.private_field.required_prefix = _
  25. dotnet_naming_style.private_field.required_suffix =
  26. dotnet_naming_style.private_field.word_separator =
  27. dotnet_naming_style.private_field.capitalization = camel_case
  28. dotnet_naming_style.all_upper.required_prefix =
  29. dotnet_naming_style.all_upper.required_suffix =
  30. dotnet_naming_style.all_upper.word_separator = _
  31. dotnet_naming_style.all_upper.capitalization = all_upper
  32. # Add copyright file header
  33. #file_header_template = Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛\n\nSafeCampus 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:\n1.请不要删除和修改根目录下的LICENSE文件。\n2.请不要删除和修改SafeCampus源码头部的版权声明。\n3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SafeCampus\n4.基于本软件的作品,只能使用 SafeCampus 作为后台服务,除外情况不可商用且不允许二次分发或开源。\n5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。\n6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。