Skip to content

Commit eb5a27a

Browse files
manually adding 'non-indented brace after case' rule
1 parent 69514a6 commit eb5a27a

File tree

1 file changed

+1
-76
lines changed

1 file changed

+1
-76
lines changed

.editorconfig

Lines changed: 1 addition & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1 @@
1-
; see http://editorconfig.org/ for docs on this file
2-
3-
root = true
4-
5-
[*]
6-
ignore_if_in_header = This code was generated by a tool|<auto-generated>
7-
indent_style = space
8-
indent_size = 4
9-
; uncomment to help with sharing files across os's (i.e. network share or through local vm)
10-
#end_of_line = lf
11-
; avoid a bom, which causes endless problems with naive text tooling
12-
charset = utf-8
13-
trim_trailing_whitespace = true
14-
insert_final_newline = true
15-
; keeping auto-format enabled helps avoid merge hell for projects without CI-based format validation
16-
#disable_auto_format = true
17-
18-
[*.cs]
19-
; uncomment to enable full formatting of c# files
20-
formatters = generic, uncrustify
21-
22-
[*.asmdef]
23-
scrape_api = true
24-
25-
[**/Tests/**.asmdef]
26-
scrape_api = false
27-
28-
[*.Tests.asmdef]
29-
scrape_api = false
30-
31-
[*.md]
32-
indent_size = 2
33-
; trailing whitespace is unfortunately significant in markdown
34-
trim_trailing_whitespace = false
35-
; uncomment to enable basic formatting of markdown files
36-
#formatters = generic
37-
38-
[{Makefile,makefile}]
39-
; tab characters are part of the Makefile format
40-
indent_style = tab
41-
42-
[*.asmdef]
43-
indent_size = 4
44-
45-
[*.json]
46-
indent_size = 2
47-
48-
[*.{vcproj,bat,cmd,xaml,tt,t4,ttinclude}]
49-
end_of_line = crlf
50-
51-
; this VS-specific stuff is based on experiments to see how VS will modify a file after it has been manually edited.
52-
; the settings are meant to closely match what VS does to minimize unnecessary diffs.
53-
[*.{vcxproj,vcxproj.filters}]
54-
indent_style = space
55-
indent_size = 2
56-
end_of_line = crlf
57-
charset = utf-8-bom
58-
trim_trailing_whitespace = true
59-
insert_final_newline = false
60-
; must be broken out because of 51-char bug (https://github.com/editorconfig/editorconfig-visualstudio/issues/21)
61-
[*.{csproj,pyproj,props,targets}]
62-
indent_style = space
63-
indent_size = 2
64-
end_of_line = crlf
65-
charset = utf-8-bom
66-
trim_trailing_whitespace = true
67-
insert_final_newline = false
68-
[*.{sln,sln.template}]
69-
indent_style = tab
70-
indent_size = 4
71-
end_of_line = crlf
72-
charset = utf-8
73-
trim_trailing_whitespace = true
74-
insert_final_newline = false
75-
76-
#### naming styles ##### naming rules[*.cs]dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestiondotnet_naming_rule.interface_should_be_begins_with_i.symbols = interfacedotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_idotnet_naming_rule.types_should_be_pascal_case.severity = suggestiondotnet_naming_rule.types_should_be_pascal_case.symbols = typesdotnet_naming_rule.types_should_be_pascal_case.style = pascal_casedotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestiondotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_membersdotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_casedotnet_naming_rule.method_should_be_pascal_case.severity = suggestiondotnet_naming_rule.method_should_be_pascal_case.symbols = methoddotnet_naming_rule.method_should_be_pascal_case.style = pascal_casedotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.severity = suggestiondotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.symbols = private_or_internal_fielddotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.style = begins_with_m_dotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.severity = suggestiondotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.symbols = private_or_internal_static_fielddotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.style = begins_with_s_dotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.severity = suggestiondotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.symbols = non_public_const_fieldsdotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.style = begins_with_k_dotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.severity = suggestiondotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.symbols = non_public_static_readonly_fieldsdotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.style = begins_with_k_dotnet_naming_rule.event_should_be_camel_case.severity = suggestiondotnet_naming_rule.event_should_be_camel_case.symbols = eventdotnet_naming_rule.event_should_be_camel_case.style = camel_casedotnet_naming_rule.method_parameters_should_be_camel_case.severity = suggestiondotnet_naming_rule.method_parameters_should_be_camel_case.symbols = method_parametersdotnet_naming_rule.method_parameters_should_be_camel_case.style = camel_casedotnet_naming_rule.local_should_be_camel_case.severity = suggestiondotnet_naming_rule.local_should_be_camel_case.symbols = localdotnet_naming_rule.local_should_be_camel_case.style = camel_case# symbol specificationsdotnet_naming_symbols.interface.applicable_kinds = interfacedotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.interface.required_modifiers = dotnet_naming_symbols.event.applicable_kinds = eventdotnet_naming_symbols.event.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.event.required_modifiers = dotnet_naming_symbols.method.applicable_kinds = methoddotnet_naming_symbols.method.applicable_accessibilities = publicdotnet_naming_symbols.method.required_modifiers = dotnet_naming_symbols.private_or_internal_field.applicable_kinds = fielddotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protecteddotnet_naming_symbols.private_or_internal_field.required_modifiers = dotnet_naming_symbols.private_or_internal_static_field.applicable_kinds = fielddotnet_naming_symbols.private_or_internal_static_field.applicable_accessibilities = internal, private, private_protecteddotnet_naming_symbols.private_or_internal_static_field.required_modifiers = staticdotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enumdotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.types.required_modifiers = dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, methoddotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_field_members.required_modifiers = dotnet_naming_symbols.non_public_const_fields.applicable_kinds = fielddotnet_naming_symbols.non_public_const_fields.applicable_accessibilities = internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_public_const_fields.required_modifiers = constdotnet_naming_symbols.non_public_static_readonly_fields.applicable_kinds = fielddotnet_naming_symbols.non_public_static_readonly_fields.applicable_accessibilities = private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_public_static_readonly_fields.required_modifiers = readonly, staticdotnet_naming_symbols.method_parameters.applicable_kinds = parameterdotnet_naming_symbols.method_parameters.applicable_accessibilities = dotnet_naming_symbols.method_parameters.required_modifiers = dotnet_naming_symbols.local.applicable_kinds = localdotnet_naming_symbols.local.applicable_accessibilities = localdotnet_naming_symbols.local.required_modifiers = # naming stylesdotnet_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_casedotnet_naming_style.begins_with_i.required_prefix = Idotnet_naming_style.begins_with_i.required_suffix = dotnet_naming_style.begins_with_i.word_separator = dotnet_naming_style.begins_with_i.capitalization = pascal_casedotnet_naming_style.begins_with_m_.required_prefix = m_dotnet_naming_style.begins_with_m_.required_suffix = dotnet_naming_style.begins_with_m_.word_separator = dotnet_naming_style.begins_with_m_.capitalization = pascal_casedotnet_naming_style.begins_with_s_.required_prefix = s_dotnet_naming_style.begins_with_s_.required_suffix = dotnet_naming_style.begins_with_s_.word_separator = dotnet_naming_style.begins_with_s_.capitalization = pascal_casedotnet_naming_style.begins_with_k_.required_prefix = k_dotnet_naming_style.begins_with_k_.required_suffix = dotnet_naming_style.begins_with_k_.word_separator = dotnet_naming_style.begins_with_k_.capitalization = pascal_casedotnet_naming_style.camel_case.required_prefix = dotnet_naming_style.camel_case.required_suffix = dotnet_naming_style.camel_case.word_separator = dotnet_naming_style.camel_case.capitalization = camel_case
1+
; see http://editorconfig.org/ for docs on this fileroot = true[*]ignore_if_in_header = This code was generated by a tool|<auto-generated>indent_style = spaceindent_size = 4; uncomment to help with sharing files across os's (i.e. network share or through local vm)#end_of_line = lf; avoid a bom, which causes endless problems with naive text toolingcharset = utf-8trim_trailing_whitespace = trueinsert_final_newline = true; keeping auto-format enabled helps avoid merge hell for projects without CI-based format validation#disable_auto_format = true[*.cs]; uncomment to enable full formatting of c# filesformatters = generic, uncrustify[*.asmdef]scrape_api = true[**/Tests/**.asmdef]scrape_api = false[*.Tests.asmdef]scrape_api = false[*.md]indent_size = 2; trailing whitespace is unfortunately significant in markdowntrim_trailing_whitespace = false; uncomment to enable basic formatting of markdown files#formatters = generic[{Makefile,makefile}]; tab characters are part of the Makefile formatindent_style = tab[*.asmdef]indent_size = 4[*.json]indent_size = 2[*.{vcproj,bat,cmd,xaml,tt,t4,ttinclude}]end_of_line = crlf; this VS-specific stuff is based on experiments to see how VS will modify a file after it has been manually edited.; the settings are meant to closely match what VS does to minimize unnecessary diffs.[*.{vcxproj,vcxproj.filters}]indent_style = spaceindent_size = 2end_of_line = crlfcharset = utf-8-bomtrim_trailing_whitespace = trueinsert_final_newline = false; must be broken out because of 51-char bug (https://github.com/editorconfig/editorconfig-visualstudio/issues/21)[*.{csproj,pyproj,props,targets}]indent_style = spaceindent_size = 2end_of_line = crlfcharset = utf-8-bomtrim_trailing_whitespace = trueinsert_final_newline = false[*.{sln,sln.template}]indent_style = tabindent_size = 4end_of_line = crlfcharset = utf-8trim_trailing_whitespace = trueinsert_final_newline = falsecsharp_indent_case_contents_when_block = false#### naming styles ##### naming rules[*.cs]dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestiondotnet_naming_rule.interface_should_be_begins_with_i.symbols = interfacedotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_idotnet_naming_rule.types_should_be_pascal_case.severity = suggestiondotnet_naming_rule.types_should_be_pascal_case.symbols = typesdotnet_naming_rule.types_should_be_pascal_case.style = pascal_casedotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestiondotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_membersdotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_casedotnet_naming_rule.method_should_be_pascal_case.severity = suggestiondotnet_naming_rule.method_should_be_pascal_case.symbols = methoddotnet_naming_rule.method_should_be_pascal_case.style = pascal_casedotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.severity = suggestiondotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.symbols = private_or_internal_fielddotnet_naming_rule.private_or_internal_field_should_be_begins_with_m_.style = begins_with_m_dotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.severity = suggestiondotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.symbols = private_or_internal_static_fielddotnet_naming_rule.private_or_internal_static_field_should_be_begins_with_s_.style = begins_with_s_dotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.severity = suggestiondotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.symbols = non_public_const_fieldsdotnet_naming_rule.non_public_const_fields_should_be_begins_with_k_.style = begins_with_k_dotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.severity = suggestiondotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.symbols = non_public_static_readonly_fieldsdotnet_naming_rule.non_public_static_readonly_fields_should_be_begins_with_k_.style = begins_with_k_dotnet_naming_rule.event_should_be_camel_case.severity = suggestiondotnet_naming_rule.event_should_be_camel_case.symbols = eventdotnet_naming_rule.event_should_be_camel_case.style = camel_casedotnet_naming_rule.method_parameters_should_be_camel_case.severity = suggestiondotnet_naming_rule.method_parameters_should_be_camel_case.symbols = method_parametersdotnet_naming_rule.method_parameters_should_be_camel_case.style = camel_casedotnet_naming_rule.local_should_be_camel_case.severity = suggestiondotnet_naming_rule.local_should_be_camel_case.symbols = localdotnet_naming_rule.local_should_be_camel_case.style = camel_case# symbol specificationsdotnet_naming_symbols.interface.applicable_kinds = interfacedotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.interface.required_modifiers =dotnet_naming_symbols.event.applicable_kinds = eventdotnet_naming_symbols.event.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.event.required_modifiers =dotnet_naming_symbols.method.applicable_kinds = methoddotnet_naming_symbols.method.applicable_accessibilities = publicdotnet_naming_symbols.method.required_modifiers =dotnet_naming_symbols.private_or_internal_field.applicable_kinds = fielddotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protecteddotnet_naming_symbols.private_or_internal_field.required_modifiers =dotnet_naming_symbols.private_or_internal_static_field.applicable_kinds = fielddotnet_naming_symbols.private_or_internal_static_field.applicable_accessibilities = internal, private, private_protecteddotnet_naming_symbols.private_or_internal_static_field.required_modifiers = staticdotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enumdotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.types.required_modifiers =dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, methoddotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_field_members.required_modifiers =dotnet_naming_symbols.non_public_const_fields.applicable_kinds = fielddotnet_naming_symbols.non_public_const_fields.applicable_accessibilities = internal, private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_public_const_fields.required_modifiers = constdotnet_naming_symbols.non_public_static_readonly_fields.applicable_kinds = fielddotnet_naming_symbols.non_public_static_readonly_fields.applicable_accessibilities = private, protected, protected_internal, private_protecteddotnet_naming_symbols.non_public_static_readonly_fields.required_modifiers = readonly, staticdotnet_naming_symbols.method_parameters.applicable_kinds = parameterdotnet_naming_symbols.method_parameters.applicable_accessibilities =dotnet_naming_symbols.method_parameters.required_modifiers =dotnet_naming_symbols.local.applicable_kinds = localdotnet_naming_symbols.local.applicable_accessibilities = localdotnet_naming_symbols.local.required_modifiers =# naming stylesdotnet_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_casedotnet_naming_style.begins_with_i.required_prefix = Idotnet_naming_style.begins_with_i.required_suffix =dotnet_naming_style.begins_with_i.word_separator =dotnet_naming_style.begins_with_i.capitalization = pascal_casedotnet_naming_style.begins_with_m_.required_prefix = m_dotnet_naming_style.begins_with_m_.required_suffix =dotnet_naming_style.begins_with_m_.word_separator =dotnet_naming_style.begins_with_m_.capitalization = pascal_casedotnet_naming_style.begins_with_s_.required_prefix = s_dotnet_naming_style.begins_with_s_.required_suffix =dotnet_naming_style.begins_with_s_.word_separator =dotnet_naming_style.begins_with_s_.capitalization = pascal_casedotnet_naming_style.begins_with_k_.required_prefix = k_dotnet_naming_style.begins_with_k_.required_suffix =dotnet_naming_style.begins_with_k_.word_separator =dotnet_naming_style.begins_with_k_.capitalization = pascal_casedotnet_naming_style.camel_case.required_prefix =dotnet_naming_style.camel_case.required_suffix =dotnet_naming_style.camel_case.word_separator =dotnet_naming_style.camel_case.capitalization = camel_case

0 commit comments

Comments
 (0)