Skip to content

Commit 9f600ad

Browse files
committed
Initial commit.
0 parents  commit 9f600ad

11 files changed

+458
-0
lines changed

.editorconfig

Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*.cs]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.{json,md}]
13+
indent_style = space
14+
indent_size = 2
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
# CSharp and Visual Basic code style settings:
21+
[*.cs]
22+
dotnet_style_require_accessibility_modifiers = always:suggestion
23+
dotnet_style_readonly_field = true:warning
24+
25+
# CSharp and Visual Basic code style settings:
26+
[*.cs]
27+
dotnet_style_object_initializer = true:suggestion
28+
dotnet_style_collection_initializer = true:suggestion
29+
dotnet_style_prefer_auto_properties = true:suggestion
30+
31+
# CSharp code style settings:
32+
[*.cs]
33+
csharp_style_var_for_built_in_types = true:suggestion
34+
csharp_style_var_when_type_is_apparent = true:suggestion
35+
csharp_style_var_elsewhere = true:suggestion
36+
37+
# CSharp code style settings:
38+
[*.cs]
39+
csharp_style_expression_bodied_methods = false:silent
40+
csharp_style_expression_bodied_constructors = false:silent
41+
csharp_style_expression_bodied_operators = false:silent
42+
csharp_style_expression_bodied_properties = true:suggestion
43+
csharp_style_expression_bodied_indexers = true:suggestion
44+
csharp_style_expression_bodied_accessors = true:suggestion
45+
46+
# CSharp code style settings:
47+
[*.cs]
48+
csharp_style_inlined_variable_declaration = true:suggestion
49+
50+
# CSharp code style settings:
51+
[*.cs]
52+
csharp_prefer_braces = true:silent
53+
54+
# .NET formatting settings:
55+
[*.cs]
56+
dotnet_sort_system_directives_first = true
57+
58+
# CSharp formatting settings:
59+
[*.cs]
60+
csharp_new_line_before_open_brace = all
61+
csharp_new_line_before_else = true
62+
csharp_new_line_before_catch = true
63+
csharp_new_line_before_finally = true
64+
csharp_new_line_before_members_in_object_initializers = true
65+
csharp_new_line_before_members_in_anonymous_types = true
66+
csharp_new_line_between_query_expression_clauses = true
67+
68+
# CSharp formatting settings:
69+
[*.cs]
70+
csharp_indent_case_contents = true
71+
csharp_indent_switch_labels = true
72+
73+
# CSharp formatting settings:
74+
[*.cs]
75+
csharp_space_after_cast = false
76+
csharp_space_after_keywords_in_control_flow_statements = true
77+
csharp_space_between_method_declaration_parameter_list_parentheses = false
78+
csharp_space_between_method_call_parameter_list_parentheses = false
79+
csharp_space_between_parentheses = false
80+
csharp_space_before_colon_in_inheritance_clause = true
81+
csharp_space_after_colon_in_inheritance_clause = true
82+
csharp_space_around_binary_operators = before_and_after
83+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
84+
csharp_space_between_method_call_name_and_opening_parenthesis = false
85+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
86+
87+
# CSharp formatting settings:
88+
[*.cs]
89+
csharp_preserve_single_line_statements = false
90+
csharp_preserve_single_line_blocks = false
91+
92+
# Rider Specific Settings:
93+
94+
## Blank Lines
95+
96+
[*.cs]
97+
csharp_blank_lines_around_region = 1
98+
csharp_blank_lines_inside_region = 1
99+
csharp_blank_lines_before_single_line_comment = 1
100+
csharp_keep_blank_lines_in_declarations = 1
101+
csharp_remove_blank_lines_near_braces_in_declarations = false
102+
csharp_blank_lines_after_start_comment = 1
103+
csharp_blank_lines_between_using_groups = 0
104+
csharp_blank_lines_after_using_list = 0
105+
csharp_blank_lines_around_namespace = 1
106+
csharp_blank_lines_inside_namespace = 1
107+
csharp_blank_lines_around_type = 1
108+
csharp_blank_lines_inside_type = 1
109+
csharp_blank_lines_around_field = 1
110+
csharp_blank_lines_around_single_line_field = 1
111+
csharp_blank_lines_around_property = 1
112+
csharp_blank_lines_around_single_line_property = 1
113+
csharp_blank_lines_around_auto_property = 1
114+
csharp_blank_lines_around_single_line_auto_property = 1
115+
csharp_blank_lines_around_invocable = 1
116+
csharp_blank_lines_around_single_line_invocable = 1
117+
csharp_blank_lines_around_local_method = 1
118+
csharp_keep_blank_lines_in_code = 1
119+
csharp_remove_blank_lines_near_braces_in_code = false
120+
csharp_blank_lines_around_local_method = 1
121+
csharp_blank_lines_around_single_line_local_method = 1
122+
csharp_blank_lines_before_control_transfer_statements = 1
123+
csharp_blank_lines_after_control_transfer_statements = 1
124+
csharp_blank_lines_before_block_statements = 1
125+
csharp_blank_lines_after_block_statements = 1
126+
csharp_blank_lines_before_multiline_statements = 1
127+
csharp_blank_lines_after_multiline_statements = 1
128+
129+
## Brace Layout
130+
131+
[*.cs]
132+
csharp_type_declaration_braces = next_line
133+
csharp_indent_inside_namespace = true
134+
csharp_invocable_declaration_braces = next_line
135+
csharp_anonymous_method_declaration_braces = next_line
136+
csharp_accessor_owner_declaration_braces = next_line
137+
csharp_accessor_declaration_braces = next_line
138+
csharp_case_block_braces = next_line
139+
csharp_initializer_braces = next_line
140+
csharp_other_braces = next_line
141+
csharp_allow_comment_after_lbrace = false
142+
csharp_empty_block_style = multiline
143+
144+
## Code Style
145+
146+
csharp_for_built_in_types = use_var
147+
csharp_for_simple_types = use_var
148+
csharp_for_other_types = use_var
149+
csharp_prefer_explicit_discard_declaration = true
150+
csharp_instance_members_qualify_members = none
151+
csharp_instance_members_qualify_declared_in = this_class
152+
csharp_default_private_modifier = explicit
153+
csharp_default_internal_modifier = explicit
154+
155+
## Line Breaks
156+
157+
[*.cs]
158+
csharp_place_type_attribute_on_same_line = false
159+
csharp_place_method_attribute_on_same_line = false
160+
csharp_place_accessorholder_attribute_on_same_line = false
161+
csharp_place_accessor_attribute_on_same_line = false
162+
csharp_place_field_attribute_on_same_line = false
163+
164+
csharp_keep_existing_declaration_block_arrangement = false
165+
csharp_place_abstract_accessorholder_on_single_line = true
166+
csharp_place_simple_accessorholder_on_single_line = false
167+
csharp_place_accessor_with_attrs_holder_on_single_line = true
168+
csharp_place_simple_accessor_on_single_line = true
169+
csharp_place_simple_method_on_single_line = false
170+
171+
## Spaces
172+
173+
[*.cs]
174+
csharp_extra_spaces = remove_all
175+
csharp_space_after_keywords_in_control_flow_statements = true
176+
csharp_space_between_method_call_name_and_opening_parenthesis = false
177+
csharp_space_before_typeof_parentheses = false
178+
csharp_space_before_default_parentheses = false
179+
csharp_space_before_checked_parentheses = false
180+
csharp_space_before_sizeof_parentheses = false
181+
csharp_space_before_nameof_parentheses = false
182+
csharp_space_between_keyword_and_expression = true
183+
csharp_space_between_keyword_and_type = true
184+
csharp_space_within_if_parentheses = false
185+
csharp_space_within_while_parentheses = false
186+
csharp_space_within_catch_parentheses = false
187+
csharp_space_within_switch_parentheses = false
188+
csharp_space_within_for_parentheses = false
189+
csharp_space_within_foreach_parentheses = false
190+
csharp_space_within_using_parentheses = false
191+
csharp_space_within_lock_parentheses = false
192+
csharp_space_within_fixed_parentheses = false
193+
csharp_space_within_parentheses = false
194+
csharp_space_between_typecast_parentheses = false
195+
csharp_space_between_method_declaration_parameter_list_parentheses = false
196+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
197+
csharp_space_between_method_call_parameter_list_parentheses = false
198+
csharp_space_within_typeof_parentheses = false
199+
csharp_space_within_default_parentheses = false
200+
csharp_space_within_checked_parentheses = false
201+
csharp_space_within_sizeof_parentheses = false
202+
csharp_space_within_nameof_parentheses = false
203+
csharp_space_before_open_square_brackets = false
204+
csharp_space_between_square_brackets = false
205+
csharp_space_between_empty_square_brackets = false
206+
csharp_space_before_type_parameter_angle = false
207+
csharp_space_before_type_argument_angle = false
208+
csharp_space_within_type_parameter_angles = false
209+
csharp_space_within_type_argument_angles = false;
210+
csharp_space_before_singleline_accessorholder = true
211+
csharp_space_in_singleline_accessorholder = true
212+
csharp_space_between_accessors_in_singleline_property = true
213+
csharp_space_within_empty_braces = true
214+
csharp_space_in_singleline_method = true
215+
csharp_space_in_singleline_anonymous_method = true
216+
csharp_space_within_single_line_array_initializer_braces = true
217+
csharp_space_around_assignment_op = true
218+
csharp_space_around_logical_op = true
219+
csharp_space_around_equality_op = true
220+
csharp_space_around_relational_op = true
221+
csharp_space_around_bitwise_op = true
222+
csharp_space_around_additive_op = true
223+
csharp_space_around_multiplicative_op = true
224+
csharp_space_around_shift_op = true
225+
csharp_space_around_nullcoalescing_op = true
226+
csharp_space_around_arrow_op = true
227+
csharp_space_after_logical_not_op = false
228+
csharp_space_after_unary_minus_op = false
229+
csharp_space_after_unary_plus_op = false
230+
csharp_space_after_ampersand_op = false
231+
csharp_space_after_asterik_op = false
232+
csharp_space_near_postfix_and_prefix_op = false
233+
csharp_space_before_ternary_quest = true
234+
csharp_space_after_ternary_quest = true
235+
csharp_space_before_ternary_colon = true
236+
csharp_space_after_ternary_colon = true
237+
csharp_space_before_comma = false
238+
csharp_space_after_comma = true
239+
csharp_space_before_semicolon_in_for_statement = false
240+
csharp_space_after_semicolon_in_for_statement = true
241+
csharp_space_before_semicolon = false
242+
csharp_space_before_colon_in_inheritance_clause = true
243+
csharp_space_after_colon_in_inheritance_clause = true
244+
csharp_space_before_type_parameter_constraint_colon = true
245+
csharp_space_after_type_parameter_constraint_colon = true
246+
csharp_space_before_colon_in_case = false
247+
csharp_space_after_colon_in_case = true
248+
csharp_space_before_attribute_colon = true
249+
csharp_space_after_attribute_colon = true
250+
csharp_space_between_attribute_sections = true
251+
csharp_space_between_square_brackets = false
252+
csharp_space_after_attributes = true
253+
csharp_space_after_cast = false
254+
csharp_space_around_dot = false
255+
csharp_space_around_lambda_arrow = true
256+
csharp_space_before_pointer_asterik_declaration = false
257+
csharp_space_before_nullable_mark = false
258+
csharp_space_around_alias_eq = true
259+
csharp_space_before_trailing_comment = true
260+
csharp_space_after_operator_keyword = true
261+
262+
## Resharper
263+
264+
[*.cs]
265+
resharper_check_namespace_highlighting = do_not_show
266+
resharper_inconsistent_naming_highlighting = do_not_show
267+
resharper_member_can_be_private_global_highlighting = do_not_show
268+
resharper_unused_member_global_highlighting = do_not_show
269+
resharper_introduce_optional_parameters_global_highlighting = do_not_show
270+
resharper_delegate_subtraction_highlighting = do_not_show

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
## [v1.0.0](https://github.com/CandyCoded/SafeAreaLayout/tree/v1.0.0) - (2020-12-24)
4+
5+
- Initial release! 🎉
6+
7+
_This changelog was generated with **[generate-local-changelog](https://github.com/neogeek/generate-local-changelog)**_

CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# SafeAreaLayout
2+
3+
> A simple component for resizing Canvas objects to fit in the safe area of any device.
4+
5+
### Unity Package Manager
6+
7+
<https://docs.unity3d.com/Packages/[email protected]/manual/index.html>
8+
9+
#### Git
10+
11+
```json
12+
{
13+
"dependencies": {
14+
"xyz.candycoded.safearealayout": "https://github.com/CandyCoded/SafeAreaLayout.git#v1.0.0",
15+
...
16+
}
17+
}
18+
```

README.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SafeAreaLayout.asmdef

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "SafeAreaLayout"
3+
}

SafeAreaLayout.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)