Skip to content

Commit 27123bd

Browse files
authored
Enforce editor configuration (#111)
1 parent 25d4798 commit 27123bd

File tree

4 files changed

+365
-30
lines changed

4 files changed

+365
-30
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ src/main/resources/images/
1010
*.md
1111
gradlew*
1212
LICENSE
13+
.editorconfig

.editorconfig

+324
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,324 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = off
10+
tab_width = 4
11+
ij_continuation_indent_size = 8
12+
ij_formatter_off_tag = @formatter:off
13+
ij_formatter_on_tag = @formatter:on
14+
ij_formatter_tags_enabled = true
15+
ij_smart_tabs = false
16+
ij_visual_guides = none
17+
ij_wrap_on_typing = false
18+
19+
[*.java]
20+
indent_style = tab
21+
ij_java_imports_layout = $*,|,*,|,javax.**,java.**,|
22+
ij_java_names_count_to_use_import_on_demand = 999
23+
ij_java_class_count_to_use_import_on_demand = 999
24+
ij_java_align_consecutive_assignments = false
25+
ij_java_align_consecutive_variable_declarations = false
26+
ij_java_align_group_field_declarations = false
27+
ij_java_align_multiline_annotation_parameters = false
28+
ij_java_align_multiline_array_initializer_expression = false
29+
ij_java_align_multiline_assignment = false
30+
ij_java_align_multiline_binary_operation = false
31+
ij_java_align_multiline_chained_methods = false
32+
ij_java_align_multiline_deconstruction_list_components = true
33+
ij_java_align_multiline_extends_list = false
34+
ij_java_align_multiline_for = true
35+
ij_java_align_multiline_method_parentheses = false
36+
ij_java_align_multiline_parameters = true
37+
ij_java_align_multiline_parameters_in_calls = false
38+
ij_java_align_multiline_parenthesized_expression = false
39+
ij_java_align_multiline_records = true
40+
ij_java_align_multiline_resources = true
41+
ij_java_align_multiline_ternary_operation = false
42+
ij_java_align_multiline_text_blocks = false
43+
ij_java_align_multiline_throws_list = false
44+
ij_java_align_subsequent_simple_methods = false
45+
ij_java_align_throws_keyword = false
46+
ij_java_align_types_in_multi_catch = true
47+
ij_java_annotation_parameter_wrap = off
48+
ij_java_array_initializer_new_line_after_left_brace = false
49+
ij_java_array_initializer_right_brace_on_new_line = false
50+
ij_java_array_initializer_wrap = off
51+
ij_java_assert_statement_colon_on_next_line = false
52+
ij_java_assert_statement_wrap = off
53+
ij_java_assignment_wrap = off
54+
ij_java_binary_operation_sign_on_next_line = false
55+
ij_java_binary_operation_wrap = off
56+
ij_java_blank_lines_after_anonymous_class_header = 0
57+
ij_java_blank_lines_after_class_header = 0
58+
ij_java_blank_lines_after_imports = 1
59+
ij_java_blank_lines_after_package = 1
60+
ij_java_blank_lines_around_class = 1
61+
ij_java_blank_lines_around_field = 0
62+
ij_java_blank_lines_around_field_in_interface = 0
63+
ij_java_blank_lines_around_initializer = 1
64+
ij_java_blank_lines_around_method = 1
65+
ij_java_blank_lines_around_method_in_interface = 1
66+
ij_java_blank_lines_before_class_end = 0
67+
ij_java_blank_lines_before_imports = 1
68+
ij_java_blank_lines_before_method_body = 0
69+
ij_java_blank_lines_before_package = 0
70+
ij_java_block_brace_style = end_of_line
71+
ij_java_block_comment_add_space = false
72+
ij_java_block_comment_at_first_column = true
73+
ij_java_builder_methods = none
74+
ij_java_call_parameters_new_line_after_left_paren = false
75+
ij_java_call_parameters_right_paren_on_new_line = false
76+
ij_java_call_parameters_wrap = off
77+
ij_java_case_statement_on_separate_line = true
78+
ij_java_catch_on_new_line = false
79+
ij_java_class_annotation_wrap = split_into_lines
80+
ij_java_class_brace_style = end_of_line
81+
ij_java_class_names_in_javadoc = 1
82+
ij_java_deconstruction_list_wrap = normal
83+
ij_java_do_not_indent_top_level_class_members = false
84+
ij_java_do_not_wrap_after_single_annotation = false
85+
ij_java_do_not_wrap_after_single_annotation_in_parameter = false
86+
ij_java_do_while_brace_force = never
87+
ij_java_doc_add_blank_line_after_description = true
88+
ij_java_doc_add_blank_line_after_param_comments = false
89+
ij_java_doc_add_blank_line_after_return = false
90+
ij_java_doc_add_p_tag_on_empty_lines = true
91+
ij_java_doc_align_exception_comments = false
92+
ij_java_doc_align_param_comments = false
93+
ij_java_doc_do_not_wrap_if_one_line = false
94+
ij_java_doc_enable_formatting = true
95+
ij_java_doc_enable_leading_asterisks = true
96+
ij_java_doc_indent_on_continuation = false
97+
ij_java_doc_keep_empty_lines = true
98+
ij_java_doc_keep_empty_parameter_tag = true
99+
ij_java_doc_keep_empty_return_tag = true
100+
ij_java_doc_keep_empty_throws_tag = true
101+
ij_java_doc_keep_invalid_tags = false
102+
ij_java_doc_param_description_on_new_line = false
103+
ij_java_doc_preserve_line_breaks = false
104+
ij_java_doc_use_throws_not_exception_tag = true
105+
ij_java_else_on_new_line = false
106+
ij_java_entity_dd_suffix = EJB
107+
ij_java_entity_eb_suffix = Bean
108+
ij_java_entity_hi_suffix = Home
109+
ij_java_entity_lhi_prefix = Local
110+
ij_java_entity_lhi_suffix = Home
111+
ij_java_entity_li_prefix = Local
112+
ij_java_entity_pk_class = java.lang.String
113+
ij_java_entity_vo_suffix = VO
114+
ij_java_enum_constants_wrap = off
115+
ij_java_extends_keyword_wrap = off
116+
ij_java_extends_list_wrap = off
117+
ij_java_field_annotation_wrap = split_into_lines
118+
ij_java_finally_on_new_line = false
119+
ij_java_for_brace_force = never
120+
ij_java_for_statement_new_line_after_left_paren = false
121+
ij_java_for_statement_right_paren_on_new_line = false
122+
ij_java_for_statement_wrap = off
123+
ij_java_generate_final_locals = false
124+
ij_java_generate_final_parameters = false
125+
ij_java_if_brace_force = never
126+
ij_java_indent_case_from_switch = true
127+
ij_java_insert_inner_class_imports = false
128+
ij_java_insert_override_annotation = true
129+
ij_java_keep_blank_lines_before_right_brace = 2
130+
ij_java_keep_blank_lines_between_package_declaration_and_header = 2
131+
ij_java_keep_blank_lines_in_code = 2
132+
ij_java_keep_blank_lines_in_declarations = 2
133+
ij_java_keep_builder_methods_indents = false
134+
ij_java_keep_control_statement_in_one_line = true
135+
ij_java_keep_first_column_comment = true
136+
ij_java_keep_indents_on_empty_lines = false
137+
ij_java_keep_line_breaks = true
138+
ij_java_keep_multiple_expressions_in_one_line = false
139+
ij_java_keep_simple_blocks_in_one_line = true
140+
ij_java_keep_simple_classes_in_one_line = true
141+
ij_java_keep_simple_lambdas_in_one_line = false
142+
ij_java_keep_simple_methods_in_one_line = false
143+
ij_java_label_indent_absolute = false
144+
ij_java_label_indent_size = 0
145+
ij_java_lambda_brace_style = end_of_line
146+
ij_java_layout_static_imports_separately = true
147+
ij_java_line_comment_add_space = false
148+
ij_java_line_comment_add_space_on_reformat = false
149+
ij_java_line_comment_at_first_column = true
150+
ij_java_message_dd_suffix = EJB
151+
ij_java_message_eb_suffix = Bean
152+
ij_java_method_annotation_wrap = split_into_lines
153+
ij_java_method_brace_style = end_of_line
154+
ij_java_method_call_chain_wrap = off
155+
ij_java_method_parameters_new_line_after_left_paren = false
156+
ij_java_method_parameters_right_paren_on_new_line = false
157+
ij_java_method_parameters_wrap = off
158+
ij_java_modifier_list_wrap = false
159+
ij_java_multi_catch_types_wrap = normal
160+
ij_java_new_line_after_lparen_in_annotation = false
161+
ij_java_new_line_after_lparen_in_deconstruction_pattern = true
162+
ij_java_new_line_after_lparen_in_record_header = false
163+
ij_java_parameter_annotation_wrap = off
164+
ij_java_parentheses_expression_new_line_after_left_paren = false
165+
ij_java_parentheses_expression_right_paren_on_new_line = false
166+
ij_java_place_assignment_sign_on_next_line = false
167+
ij_java_prefer_longer_names = true
168+
ij_java_prefer_parameters_wrap = false
169+
ij_java_record_components_wrap = normal
170+
ij_java_repeat_synchronized = true
171+
ij_java_replace_instanceof_and_cast = false
172+
ij_java_replace_null_check = true
173+
ij_java_replace_sum_lambda_with_method_ref = true
174+
ij_java_resource_list_new_line_after_left_paren = false
175+
ij_java_resource_list_right_paren_on_new_line = false
176+
ij_java_resource_list_wrap = off
177+
ij_java_rparen_on_new_line_in_annotation = false
178+
ij_java_rparen_on_new_line_in_deconstruction_pattern = true
179+
ij_java_rparen_on_new_line_in_record_header = false
180+
ij_java_session_dd_suffix = EJB
181+
ij_java_session_eb_suffix = Bean
182+
ij_java_session_hi_suffix = Home
183+
ij_java_session_lhi_prefix = Local
184+
ij_java_session_lhi_suffix = Home
185+
ij_java_session_li_prefix = Local
186+
ij_java_session_si_suffix = Service
187+
ij_java_space_after_closing_angle_bracket_in_type_argument = false
188+
ij_java_space_after_colon = true
189+
ij_java_space_after_comma = true
190+
ij_java_space_after_comma_in_type_arguments = true
191+
ij_java_space_after_for_semicolon = true
192+
ij_java_space_after_quest = true
193+
ij_java_space_after_type_cast = true
194+
ij_java_space_before_annotation_array_initializer_left_brace = false
195+
ij_java_space_before_annotation_parameter_list = false
196+
ij_java_space_before_array_initializer_left_brace = true
197+
ij_java_space_before_catch_keyword = true
198+
ij_java_space_before_catch_left_brace = true
199+
ij_java_space_before_catch_parentheses = true
200+
ij_java_space_before_class_left_brace = true
201+
ij_java_space_before_colon = true
202+
ij_java_space_before_colon_in_foreach = true
203+
ij_java_space_before_comma = false
204+
ij_java_space_before_deconstruction_list = false
205+
ij_java_space_before_do_left_brace = true
206+
ij_java_space_before_else_keyword = true
207+
ij_java_space_before_else_left_brace = true
208+
ij_java_space_before_finally_keyword = true
209+
ij_java_space_before_finally_left_brace = true
210+
ij_java_space_before_for_left_brace = true
211+
ij_java_space_before_for_parentheses = true
212+
ij_java_space_before_for_semicolon = false
213+
ij_java_space_before_if_left_brace = true
214+
ij_java_space_before_if_parentheses = true
215+
ij_java_space_before_method_call_parentheses = false
216+
ij_java_space_before_method_left_brace = true
217+
ij_java_space_before_method_parentheses = false
218+
ij_java_space_before_opening_angle_bracket_in_type_parameter = false
219+
ij_java_space_before_quest = true
220+
ij_java_space_before_switch_left_brace = true
221+
ij_java_space_before_switch_parentheses = true
222+
ij_java_space_before_synchronized_left_brace = true
223+
ij_java_space_before_synchronized_parentheses = true
224+
ij_java_space_before_try_left_brace = true
225+
ij_java_space_before_try_parentheses = true
226+
ij_java_space_before_type_parameter_list = false
227+
ij_java_space_before_while_keyword = true
228+
ij_java_space_before_while_left_brace = true
229+
ij_java_space_before_while_parentheses = true
230+
ij_java_space_inside_one_line_enum_braces = false
231+
ij_java_space_within_empty_array_initializer_braces = false
232+
ij_java_space_within_empty_method_call_parentheses = false
233+
ij_java_space_within_empty_method_parentheses = false
234+
ij_java_spaces_around_additive_operators = true
235+
ij_java_spaces_around_annotation_eq = true
236+
ij_java_spaces_around_assignment_operators = true
237+
ij_java_spaces_around_bitwise_operators = true
238+
ij_java_spaces_around_equality_operators = true
239+
ij_java_spaces_around_lambda_arrow = true
240+
ij_java_spaces_around_logical_operators = true
241+
ij_java_spaces_around_method_ref_dbl_colon = false
242+
ij_java_spaces_around_multiplicative_operators = true
243+
ij_java_spaces_around_relational_operators = true
244+
ij_java_spaces_around_shift_operators = true
245+
ij_java_spaces_around_type_bounds_in_type_parameters = true
246+
ij_java_spaces_around_unary_operator = false
247+
ij_java_spaces_within_angle_brackets = false
248+
ij_java_spaces_within_annotation_parentheses = false
249+
ij_java_spaces_within_array_initializer_braces = true
250+
ij_java_spaces_within_braces = false
251+
ij_java_spaces_within_brackets = false
252+
ij_java_spaces_within_cast_parentheses = false
253+
ij_java_spaces_within_catch_parentheses = false
254+
ij_java_spaces_within_deconstruction_list = false
255+
ij_java_spaces_within_for_parentheses = false
256+
ij_java_spaces_within_if_parentheses = false
257+
ij_java_spaces_within_method_call_parentheses = false
258+
ij_java_spaces_within_method_parentheses = false
259+
ij_java_spaces_within_parentheses = false
260+
ij_java_spaces_within_record_header = false
261+
ij_java_spaces_within_switch_parentheses = false
262+
ij_java_spaces_within_synchronized_parentheses = false
263+
ij_java_spaces_within_try_parentheses = false
264+
ij_java_spaces_within_while_parentheses = false
265+
ij_java_special_else_if_treatment = true
266+
ij_java_subclass_name_suffix = Impl
267+
ij_java_ternary_operation_signs_on_next_line = false
268+
ij_java_ternary_operation_wrap = off
269+
ij_java_test_name_suffix = Test
270+
ij_java_throws_keyword_wrap = off
271+
ij_java_throws_list_wrap = off
272+
ij_java_use_external_annotations = false
273+
ij_java_use_fq_class_names = false
274+
ij_java_use_relative_indents = false
275+
ij_java_use_single_class_imports = true
276+
ij_java_variable_annotation_wrap = off
277+
ij_java_visibility = public
278+
ij_java_while_brace_force = never
279+
ij_java_while_on_new_line = false
280+
ij_java_wrap_comments = false
281+
ij_java_wrap_first_method_in_call_chain = false
282+
ij_java_wrap_long_lines = false
283+
284+
[.editorconfig]
285+
ij_editorconfig_align_group_field_declarations = false
286+
ij_editorconfig_space_after_colon = false
287+
ij_editorconfig_space_after_comma = true
288+
ij_editorconfig_space_before_colon = false
289+
ij_editorconfig_space_before_comma = false
290+
ij_editorconfig_spaces_around_assignment_operators = true
291+
292+
[{*.markdown,*.md}]
293+
ij_markdown_force_one_space_after_blockquote_symbol = true
294+
ij_markdown_force_one_space_after_header_symbol = true
295+
ij_markdown_force_one_space_after_list_bullet = true
296+
ij_markdown_force_one_space_between_words = true
297+
ij_markdown_format_tables = true
298+
ij_markdown_insert_quote_arrows_on_wrap = true
299+
ij_markdown_keep_indents_on_empty_lines = false
300+
ij_markdown_keep_line_breaks_inside_text_blocks = true
301+
ij_markdown_max_lines_around_block_elements = 1
302+
ij_markdown_max_lines_around_header = 1
303+
ij_markdown_max_lines_between_paragraphs = 1
304+
ij_markdown_min_lines_around_block_elements = 1
305+
ij_markdown_min_lines_around_header = 1
306+
ij_markdown_min_lines_between_paragraphs = 1
307+
ij_markdown_wrap_text_if_long = true
308+
ij_markdown_wrap_text_inside_blockquotes = false
309+
310+
[{*.toml,Cargo.lock,Cargo.toml.orig,Gopkg.lock,Pipfile,poetry.lock}]
311+
ij_toml_keep_indents_on_empty_lines = false
312+
313+
[{*.yaml,*.yml}]
314+
indent_size = 2
315+
ij_yaml_align_values_properties = do_not_align
316+
ij_yaml_autoinsert_sequence_marker = true
317+
ij_yaml_block_mapping_on_new_line = false
318+
ij_yaml_indent_sequence_value = true
319+
ij_yaml_keep_indents_on_empty_lines = false
320+
ij_yaml_keep_line_breaks = true
321+
ij_yaml_sequence_on_new_line = false
322+
ij_yaml_space_before_colon = false
323+
ij_yaml_spaces_within_braces = true
324+
ij_yaml_spaces_within_brackets = true

CONTRIBUTING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ If you'd like to help its development feel free to open a new issue and raise a
88

99
If you'd like to work on an existing issue, kindly **ask** for it to be assigned to you.
1010

11-
Do you have any struggle with the issue you are working on? Feel free to **tag me** in it _and/or_ open a draft pull request.
11+
Do you have any struggle with the issue you are working on? Feel free to **tag me** in it _and/or_ open a draft pull
12+
request.

0 commit comments

Comments
 (0)