Remove license header template and c++ rules
This commit is contained in:
parent
e9ab485188
commit
7af7bd8cfa
@ -40,7 +40,7 @@ csharp_indent_switch_labels = true
|
|||||||
csharp_indent_labels = one_less_than_current
|
csharp_indent_labels = one_less_than_current
|
||||||
|
|
||||||
# Modifier preferences
|
# Modifier preferences
|
||||||
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
|
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:suggestion
|
||||||
|
|
||||||
# avoid this. unless absolutely necessary
|
# avoid this. unless absolutely necessary
|
||||||
dotnet_style_qualification_for_field = false:suggestion
|
dotnet_style_qualification_for_field = false:suggestion
|
||||||
@ -57,17 +57,17 @@ dotnet_style_predefined_type_for_member_access = true:suggestion
|
|||||||
|
|
||||||
# name all constant fields using PascalCase
|
# name all constant fields using PascalCase
|
||||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
|
||||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
||||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
|
||||||
dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
||||||
dotnet_naming_symbols.constant_fields.required_modifiers = const
|
dotnet_naming_symbols.constant_fields.required_modifiers = const
|
||||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||||
|
|
||||||
# static fields should have s_ prefix
|
# static fields should have s_ prefix
|
||||||
dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion
|
dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion
|
||||||
dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields
|
dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields
|
||||||
dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style
|
dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style
|
||||||
dotnet_naming_symbols.static_fields.applicable_kinds = field
|
dotnet_naming_symbols.static_fields.applicable_kinds = field
|
||||||
dotnet_naming_symbols.static_fields.required_modifiers = static
|
dotnet_naming_symbols.static_fields.required_modifiers = static
|
||||||
dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected
|
dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected
|
||||||
dotnet_naming_style.static_prefix_style.required_prefix = s_
|
dotnet_naming_style.static_prefix_style.required_prefix = s_
|
||||||
@ -75,8 +75,8 @@ dotnet_naming_style.static_prefix_style.capitalization = camel_case
|
|||||||
|
|
||||||
# internal and private fields should be _camelCase
|
# internal and private fields should be _camelCase
|
||||||
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
|
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
|
||||||
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
|
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_underscore_style
|
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
|
||||||
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
|
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
|
||||||
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
|
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
|
||||||
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
|
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
|
||||||
@ -155,14 +155,6 @@ csharp_space_between_method_declaration_parameter_list_parentheses = false
|
|||||||
csharp_space_between_parentheses = false
|
csharp_space_between_parentheses = false
|
||||||
csharp_space_between_square_brackets = false
|
csharp_space_between_square_brackets = false
|
||||||
|
|
||||||
# License header
|
|
||||||
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.
|
|
||||||
|
|
||||||
# C++ Files
|
|
||||||
[*.{cpp,h,in}]
|
|
||||||
curly_bracket_next_line = true
|
|
||||||
indent_brace_style = Allman
|
|
||||||
|
|
||||||
# Xml project files
|
# Xml project files
|
||||||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
|
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
@ -189,5 +181,6 @@ indent_size = 2
|
|||||||
# Shell scripts
|
# Shell scripts
|
||||||
[*.sh]
|
[*.sh]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
|
||||||
[*.{cmd,bat}]
|
[*.{cmd,bat}]
|
||||||
end_of_line = crlf
|
end_of_line = crlf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user