Skip to content

Commit 30bce90

Browse files
authored
Initial commit
0 parents  commit 30bce90

File tree

10 files changed

+1580
-0
lines changed

10 files changed

+1580
-0
lines changed

.editorconfig

+192
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = crlf
4+
trim_trailing_whitespace = false
5+
insert_final_newline = false
6+
indent_style = space
7+
indent_size = 4
8+
9+
# Microsoft .NET properties
10+
csharp_new_line_before_members_in_object_initializers = false
11+
csharp_new_line_before_open_brace = none
12+
csharp_preferred_modifier_order = private, public, protected, internal, file, new, required, readonly, abstract, static, async, unsafe, extern, override, volatile, sealed, virtual:suggestion
13+
csharp_style_prefer_utf8_string_literals = true:suggestion
14+
csharp_style_var_elsewhere = false:none
15+
csharp_style_var_for_built_in_types = false:suggestion
16+
dotnet_naming_rule.interfaces_rule.import_to_resharper = True
17+
dotnet_naming_rule.interfaces_rule.resharper_description = Interfaces
18+
dotnet_naming_rule.interfaces_rule.resharper_guid = a7a3339e-4e89-4319-9735-a9dc4cb74cc7
19+
dotnet_naming_rule.interfaces_rule.severity = warning
20+
dotnet_naming_rule.interfaces_rule.style = i_upper_camel_case_style
21+
dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols
22+
dotnet_naming_rule.private_constants_rule.import_to_resharper = True
23+
dotnet_naming_rule.private_constants_rule.resharper_description = Constant fields (private)
24+
dotnet_naming_rule.private_constants_rule.resharper_guid = 236f7aa5-7b06-43ca-bf2a-9b31bfcff09a
25+
dotnet_naming_rule.private_constants_rule.severity = warning
26+
dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style
27+
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
28+
dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = True
29+
dotnet_naming_rule.private_instance_fields_rule.resharper_description = Instance fields (private)
30+
dotnet_naming_rule.private_instance_fields_rule.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
31+
dotnet_naming_rule.private_instance_fields_rule.severity = warning
32+
dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style
33+
dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols
34+
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = True
35+
dotnet_naming_rule.private_static_fields_rule.resharper_description = Static fields (private)
36+
dotnet_naming_rule.private_static_fields_rule.resharper_exclusive_prefixes_suffixes = true
37+
dotnet_naming_rule.private_static_fields_rule.resharper_guid = f9fce829-e6f4-4cb2-80f1-5497c44f51df
38+
dotnet_naming_rule.private_static_fields_rule.severity = warning
39+
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style
40+
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
41+
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = True
42+
dotnet_naming_rule.private_static_readonly_rule.resharper_description = Static readonly fields (private)
43+
dotnet_naming_rule.private_static_readonly_rule.resharper_guid = 15b5b1f1-457c-4ca6-b278-5615aedc07d3
44+
dotnet_naming_rule.private_static_readonly_rule.severity = warning
45+
dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style
46+
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
47+
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
48+
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
49+
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
50+
dotnet_naming_rule.unity_serialized_field_rule.severity = warning
51+
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style_1
52+
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
53+
dotnet_naming_style.i_upper_camel_case_style.capitalization = pascal_case
54+
dotnet_naming_style.i_upper_camel_case_style.required_prefix = I
55+
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
56+
dotnet_naming_style.lower_camel_case_style.required_prefix = _
57+
dotnet_naming_style.lower_camel_case_style_1.capitalization = camel_case
58+
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
59+
dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = *
60+
dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface
61+
dotnet_naming_symbols.interfaces_symbols.resharper_applicable_kinds = interface
62+
dotnet_naming_symbols.interfaces_symbols.resharper_required_modifiers = any
63+
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private
64+
dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field
65+
dotnet_naming_symbols.private_constants_symbols.required_modifiers = const
66+
dotnet_naming_symbols.private_constants_symbols.resharper_applicable_kinds = constant_field
67+
dotnet_naming_symbols.private_constants_symbols.resharper_required_modifiers = any
68+
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private
69+
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
70+
dotnet_naming_symbols.private_instance_fields_symbols.resharper_applicable_kinds = field, readonly_field
71+
dotnet_naming_symbols.private_instance_fields_symbols.resharper_required_modifiers = instance
72+
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
73+
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
74+
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
75+
dotnet_naming_symbols.private_static_fields_symbols.resharper_applicable_kinds = field
76+
dotnet_naming_symbols.private_static_fields_symbols.resharper_required_modifiers = static
77+
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
78+
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
79+
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = readonly, static
80+
dotnet_naming_symbols.private_static_readonly_symbols.resharper_applicable_kinds = readonly_field
81+
dotnet_naming_symbols.private_static_readonly_symbols.resharper_required_modifiers = static
82+
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
83+
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
84+
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
85+
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
86+
dotnet_sort_system_directives_first = false
87+
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
88+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
89+
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
90+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
91+
dotnet_style_predefined_type_for_member_access = true:suggestion
92+
dotnet_style_qualification_for_event = false:suggestion
93+
dotnet_style_qualification_for_field = false:suggestion
94+
dotnet_style_qualification_for_method = false:suggestion
95+
dotnet_style_qualification_for_property = false:suggestion
96+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
97+
98+
# ReSharper properties
99+
resharper_align_linq_query = true
100+
resharper_align_multiline_binary_expressions_chain = false
101+
resharper_align_multiline_statement_conditions = false
102+
resharper_arguments_anonymous_function = named
103+
resharper_arguments_skip_single = true
104+
resharper_autodetect_indent_settings = true
105+
resharper_blank_lines_after_block_statements = 0
106+
resharper_blank_lines_after_control_transfer_statements = 1
107+
resharper_blank_lines_after_file_scoped_namespace_directive = 0
108+
resharper_blank_lines_after_multiline_statements = 1
109+
resharper_blank_lines_after_start_comment = 0
110+
resharper_blank_lines_around_auto_property = 0
111+
resharper_blank_lines_around_block_case_section = 1
112+
resharper_blank_lines_around_property = 0
113+
resharper_braces_for_for = required
114+
resharper_braces_for_foreach = required_for_multiline_statement
115+
resharper_braces_for_while = required_for_multiline
116+
resharper_braces_redundant = false
117+
resharper_csharp_blank_lines_around_invocable = 0
118+
resharper_csharp_blank_lines_around_namespace = 0
119+
resharper_csharp_blank_lines_around_region = 0
120+
resharper_csharp_blank_lines_inside_region = 0
121+
resharper_csharp_insert_final_newline = true
122+
resharper_csharp_max_line_length = 520
123+
resharper_csharp_remove_blank_lines_near_braces_in_code = false
124+
resharper_csharp_remove_blank_lines_near_braces_in_declarations = false
125+
resharper_csharp_space_around_alias_eq = false
126+
resharper_csharp_space_before_trailing_comment = false
127+
resharper_csharp_stick_comment = false
128+
resharper_csharp_wrap_after_declaration_lpar = true
129+
resharper_csharp_wrap_before_binary_opsign = true
130+
resharper_csharp_wrap_before_declaration_rpar = true
131+
resharper_csharp_wrap_extends_list_style = chop_if_long
132+
resharper_formatter_off_tag = @formatter:off
133+
resharper_formatter_on_tag = @formatter:on
134+
resharper_formatter_tags_enabled = true
135+
resharper_indent_preprocessor_if = usual_indent
136+
resharper_indent_preprocessor_other = usual_indent
137+
resharper_indent_raw_literal_string = indent
138+
resharper_instance_members_qualify_declared_in =
139+
resharper_keep_existing_attribute_arrangement = true
140+
resharper_keep_existing_declaration_block_arrangement = true
141+
resharper_keep_existing_embedded_block_arrangement = true
142+
resharper_max_attribute_length_for_same_line = 70
143+
resharper_method_or_operator_body = expression_body
144+
resharper_parentheses_redundancy_style = remove
145+
resharper_place_accessorholder_attribute_on_same_line = false
146+
resharper_place_expr_accessor_on_single_line = true
147+
resharper_place_expr_property_on_single_line = true
148+
resharper_place_simple_accessor_on_single_line = false
149+
resharper_place_simple_anonymousmethod_on_single_line = false
150+
resharper_place_simple_case_statement_on_same_line = true
151+
resharper_place_simple_embedded_statement_on_same_line = true
152+
resharper_place_simple_initializer_on_single_line = false
153+
resharper_place_simple_list_pattern_on_single_line = false
154+
resharper_qualified_using_at_nested_scope = true
155+
resharper_space_within_empty_braces = false
156+
resharper_use_indent_from_vs = false
157+
resharper_wrap_list_pattern = chop_if_long
158+
resharper_wrap_object_and_collection_initializer_style = chop_always
159+
160+
# ReSharper inspection severities
161+
resharper_arrange_redundant_parentheses_highlighting = hint
162+
resharper_arrange_this_qualifier_highlighting = hint
163+
resharper_arrange_type_member_modifiers_highlighting = hint
164+
resharper_arrange_type_modifiers_highlighting = hint
165+
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
166+
resharper_built_in_type_reference_style_highlighting = hint
167+
resharper_mvc_action_not_resolved_highlighting = warning
168+
resharper_mvc_area_not_resolved_highlighting = warning
169+
resharper_mvc_controller_not_resolved_highlighting = warning
170+
resharper_mvc_masterpage_not_resolved_highlighting = warning
171+
resharper_mvc_partial_view_not_resolved_highlighting = warning
172+
resharper_mvc_template_not_resolved_highlighting = warning
173+
resharper_mvc_view_component_not_resolved_highlighting = warning
174+
resharper_mvc_view_component_view_not_resolved_highlighting = warning
175+
resharper_mvc_view_not_resolved_highlighting = warning
176+
resharper_razor_assembly_not_resolved_highlighting = warning
177+
resharper_redundant_base_qualifier_highlighting = warning
178+
resharper_suggest_var_or_type_built_in_types_highlighting = hint
179+
resharper_suggest_var_or_type_elsewhere_highlighting = hint
180+
resharper_suggest_var_or_type_simple_types_highlighting = hint
181+
resharper_web_config_module_not_resolved_highlighting = warning
182+
resharper_web_config_type_not_resolved_highlighting = warning
183+
resharper_web_config_wrong_module_highlighting = warning
184+
185+
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,.ws-context,jest.config}]
186+
indent_style = space
187+
indent_size = 2
188+
189+
[*.{appxmanifest,asax,ascx,aspx,axaml,blockshader,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,h++,hh,hlsl,hlsli,hlslinc,hp,hpp,hxx,icc,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,shaderFoundry,skin,tcc,tpp,urtshader,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}]
190+
indent_style = space
191+
indent_size = 4
192+
tab_width = 4

.github/workflows/release.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Packages
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*' # Match version tags like v1.0.0
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v3
17+
with:
18+
dotnet-version: '9.x'
19+
20+
- name: Restore dependencies
21+
run: dotnet restore TEMPLATE.sln
22+
23+
- name: Build
24+
run: dotnet build TEMPLATE.sln --configuration Release --no-restore
25+
26+
# Ensure that the tests must pass
27+
# The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code
28+
- name: Run tests - Extensions
29+
run: dotnet run -c Release --no-restore --no-build
30+
working-directory: "tests/TEMPLATE"
31+
32+
- name: Publish to NuGet
33+
env:
34+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
35+
run: |
36+
dotnet nuget push src/TEMPLATE/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate

.github/workflows/workflow-todo.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Run TODO to Issue"
2+
on:
3+
push:
4+
branches:
5+
- core
6+
paths-ignore:
7+
- ".github/workflows/workflow-todo.yml" # Exclude this specific workflow file
8+
jobs:
9+
build:
10+
runs-on: "ubuntu-latest"
11+
steps:
12+
- uses: "actions/checkout@v4"
13+
- name: "TODO to Issue"
14+
uses: "alstr/todo-to-issue-action@v5"
15+
with:
16+
PROJECT: "organization/InfiniLore/InfiniLore"
17+
PROJECTS_SECRET: "${{ secrets.PROJECTS_SECRET }}"
18+
ISSUE_TEMPLATE: |
19+
### 📝 Todo : ** {{ title }} **
20+
**Description:**
21+
{{ body }}
22+
23+
**Code Snippet:**
24+
{{ snippet }}
25+
26+
**File:**
27+
{{ url }}
28+
29+
IDENTIFIERS: '[{"name": "TODO", "labels": ["todo"]}]'
30+
CLOSE_ISSUES: "true"

0 commit comments

Comments
 (0)