|
| 1 | +root = true |
| 2 | + |
| 3 | +[*] |
| 4 | +charset = utf-8 |
| 5 | +indent_style = space |
| 6 | +insert_final_newline = true |
| 7 | +trim_trailing_whitespace = true |
| 8 | + |
| 9 | +[*.{java,xml,gradle}] |
| 10 | +tab_width = 4 |
| 11 | +indent_size = 4 |
| 12 | + |
| 13 | +[*.{json,yml,yaml}] |
| 14 | +tab_width = 2 |
| 15 | +indent_size = 2 |
| 16 | + |
| 17 | +[*.md] |
| 18 | +trim_trailing_whitespace = false |
| 19 | + |
| 20 | +[*.java] |
| 21 | +max_line_length = off |
| 22 | +ij_java_imports_layout = *, |, javax.**, java.**, |, $* |
| 23 | +ij_java_doc_enable_formatting = true |
| 24 | +ij_java_doc_use_throws_not_exception_tag = true |
| 25 | + |
| 26 | +# Checkstyle: AnnotationLocation |
| 27 | +ij_java_class_annotation_wrap = split_into_lines |
| 28 | +ij_java_field_annotation_wrap = split_into_lines |
| 29 | +ij_java_method_annotation_wrap = split_into_lines |
| 30 | + |
| 31 | +# Checkstyle: AvoidStarImport |
| 32 | +ij_java_use_single_class_imports = true |
| 33 | +ij_java_class_count_to_use_import_on_demand = 999999 |
| 34 | +ij_java_names_count_to_use_import_on_demand = 3 |
| 35 | +ij_java_packages_to_use_import_on_demand = |
| 36 | + |
| 37 | +# Checkstyle: EmptyForInitializerPad |
| 38 | +ij_java_space_before_for_semicolon = false |
| 39 | + |
| 40 | +# Checkstyle: EmptyLineSeparator |
| 41 | +ij_java_blank_lines_after_package = 1 |
| 42 | +ij_java_blank_lines_after_imports = 1 |
| 43 | +ij_java_blank_lines_around_class = 1 |
| 44 | +ij_java_blank_lines_around_initializer = 1 |
| 45 | +ij_java_blank_lines_around_method = 1 |
| 46 | +ij_java_blank_lines_around_method_in_interface = 1 |
| 47 | +ij_java_blank_lines_around_field = 0 |
| 48 | +ij_java_blank_lines_around_field_in_interface = 0 |
| 49 | +ij_java_blank_lines_around_field_with_annotations = 0 |
| 50 | +ij_java_keep_blank_lines_before_right_brace = 1 |
| 51 | +ij_java_keep_blank_lines_in_code = 1 |
| 52 | +ij_java_keep_blank_lines_in_declarations = 1 |
| 53 | + |
| 54 | +# Checkstyle: FinalLocalVariable |
| 55 | +ij_java_generate_final_locals = true |
| 56 | +ij_java_generate_final_parameters = true |
| 57 | + |
| 58 | +# Checkstyle: GenericWhitespace |
| 59 | +ij_java_spaces_within_angle_brackets = false |
| 60 | +ij_java_space_before_opening_angle_bracket_in_type_parameter = false |
| 61 | +ij_java_space_after_closing_angle_bracket_in_type_argument = false |
| 62 | +ij_java_spaces_around_type_bounds_in_type_parameters = true |
| 63 | + |
| 64 | +# Checkstyle: JavadocMissingLeadingAsterisk |
| 65 | +ij_java_doc_enable_leading_asterisks = true |
| 66 | + |
| 67 | +# Checkstyle: LeftCurly |
| 68 | +ij_java_block_brace_style = end_of_line |
| 69 | +ij_java_class_brace_style = end_of_line |
| 70 | +ij_java_method_brace_style = end_of_line |
| 71 | +ij_java_lambda_brace_style = end_of_line |
| 72 | + |
| 73 | +# Checkstyle: MethodParamPad |
| 74 | +ij_java_space_before_method_call_parentheses = false |
| 75 | +ij_java_space_before_method_parentheses = false |
| 76 | + |
| 77 | +# Checkstyle: NeedBraces |
| 78 | +ij_java_if_brace_force = always |
| 79 | +ij_java_for_brace_force = always |
| 80 | +ij_java_while_brace_force = always |
| 81 | +ij_java_do_while_brace_force = always |
| 82 | + |
| 83 | +# Checkstyle: NoWhitespaceAfter / NoWhitespaceBefore |
| 84 | +ij_java_spaces_around_unary_operator = false |
| 85 | + |
| 86 | +# Checkstyle: NoWhitespaceBefore |
| 87 | +ij_java_space_before_comma = false |
| 88 | + |
| 89 | +# Checkstyle: OneStatementPerLine |
| 90 | +ij_java_keep_multiple_expressions_in_one_line = false |
| 91 | + |
| 92 | +# Checkstyle: OperatorWrap |
| 93 | +ij_java_binary_operation_sign_on_next_line = true |
| 94 | +ij_java_ternary_operation_signs_on_next_line = true |
| 95 | + |
| 96 | +# Checkstyle: ParenPad |
| 97 | +ij_java_spaces_within_method_call_parentheses = false |
| 98 | +ij_java_spaces_within_method_parentheses = false |
| 99 | +ij_java_spaces_within_parentheses = false |
| 100 | +ij_java_spaces_within_if_parentheses = false |
| 101 | +ij_java_spaces_within_for_parentheses = false |
| 102 | +ij_java_spaces_within_while_parentheses = false |
| 103 | +ij_java_spaces_within_switch_parentheses = false |
| 104 | +ij_java_spaces_within_catch_parentheses = false |
| 105 | +ij_java_spaces_within_synchronized_parentheses = false |
| 106 | +ij_java_spaces_within_try_parentheses = false |
| 107 | + |
| 108 | +# Checkstyle: RequireEmptyLineBeforeBlockTagGroup |
| 109 | +ij_java_doc_add_blank_line_after_description = true |
| 110 | + |
| 111 | +# Checkstyle: RightCurly |
| 112 | +ij_java_else_on_new_line = false |
| 113 | +ij_java_catch_on_new_line = false |
| 114 | +ij_java_finally_on_new_line = false |
| 115 | +ij_java_while_on_new_line = false |
| 116 | + |
| 117 | +# Checkstyle: SeparatorWrap |
| 118 | +ij_java_method_call_chain_wrap = normal |
| 119 | +ij_java_wrap_first_method_in_call_chain = false |
| 120 | + |
| 121 | +# Checkstyle: TypecastParenPad |
| 122 | +ij_java_spaces_within_cast_parentheses = false |
| 123 | + |
| 124 | +# Checkstyle: WhitespaceAfter |
| 125 | +ij_java_space_after_type_cast = true |
| 126 | +ij_java_space_after_for_semicolon = true |
| 127 | +ij_java_space_after_comma = true |
| 128 | +ij_java_space_after_comma_in_type_arguments = true |
| 129 | + |
| 130 | +# Checkstyle: WhitespaceAround |
| 131 | +ij_java_space_before_if_parentheses = true |
| 132 | +ij_java_space_before_for_parentheses = true |
| 133 | +ij_java_space_before_while_parentheses = true |
| 134 | +ij_java_space_before_switch_parentheses = true |
| 135 | +ij_java_space_before_catch_parentheses = true |
| 136 | +ij_java_space_before_synchronized_parentheses = true |
| 137 | +ij_java_space_before_try_parentheses = true |
| 138 | +ij_java_spaces_around_additive_operators = true |
| 139 | +ij_java_spaces_around_assignment_operators = true |
| 140 | +ij_java_spaces_around_bitwise_operators = true |
| 141 | +ij_java_spaces_around_equality_operators = true |
| 142 | +ij_java_spaces_around_lambda_arrow = true |
| 143 | +ij_java_spaces_around_logical_operators = true |
| 144 | +ij_java_spaces_around_multiplicative_operators = true |
| 145 | +ij_java_spaces_around_relational_operators = true |
| 146 | +ij_java_spaces_around_shift_operators = true |
| 147 | +ij_java_space_before_quest = true |
| 148 | +ij_java_space_after_quest = true |
| 149 | +ij_java_space_before_colon = true |
| 150 | +ij_java_space_after_colon = true |
| 151 | +ij_java_space_before_colon_in_foreach = true |
| 152 | +ij_java_space_before_class_left_brace = true |
| 153 | +ij_java_space_before_method_left_brace = true |
| 154 | +ij_java_space_before_if_left_brace = true |
| 155 | +ij_java_space_before_for_left_brace = true |
| 156 | +ij_java_space_before_while_left_brace = true |
| 157 | +ij_java_space_before_switch_left_brace = true |
| 158 | +ij_java_space_before_try_left_brace = true |
| 159 | +ij_java_space_before_catch_left_brace = true |
| 160 | +ij_java_space_before_else_left_brace = true |
| 161 | +ij_java_space_before_finally_left_brace = true |
| 162 | +ij_java_space_before_do_left_brace = true |
| 163 | +ij_java_space_before_synchronized_left_brace = true |
0 commit comments