|
| 1 | +whitelist_rules: |
| 2 | + - anyobject_protocol |
| 3 | + - array_init |
| 4 | + - attributes |
| 5 | + - block_based_kvo |
| 6 | + - class_delegate_protocol |
| 7 | + - closing_brace |
| 8 | + - closure_end_indentation |
| 9 | + - closure_parameter_position |
| 10 | + - closure_spacing |
| 11 | + - collection_alignment |
| 12 | + - colon |
| 13 | + - comma |
| 14 | + - compiler_protocol_init |
| 15 | + - conditional_returns_on_newline |
| 16 | + - contains_over_filter_count |
| 17 | + - contains_over_filter_is_empty |
| 18 | + - contains_over_first_not_nil |
| 19 | + - contains_over_range_nil_comparison |
| 20 | + - control_statement |
| 21 | + - custom_rules |
| 22 | + - deployment_target |
| 23 | + - discarded_notification_center_observer |
| 24 | + - discouraged_direct_init |
| 25 | + - discouraged_object_literal |
| 26 | + - discouraged_optional_boolean |
| 27 | + - discouraged_optional_collection |
| 28 | + - duplicate_enum_cases |
| 29 | + - duplicate_imports |
| 30 | + - dynamic_inline |
| 31 | + - empty_collection_literal |
| 32 | + - empty_count |
| 33 | + - empty_enum_arguments |
| 34 | + - empty_parameters |
| 35 | + - empty_parentheses_with_trailing_closure |
| 36 | + - empty_string |
| 37 | + - empty_xctest_method |
| 38 | + - enum_case_associated_value_count |
| 39 | + - explicit_init |
| 40 | + - fallthrough |
| 41 | + - fatal_error_message |
| 42 | + - first_where |
| 43 | + - flatmap_over_map_reduce |
| 44 | + - for_where |
| 45 | + - generic_type_name |
| 46 | + - identical_operands |
| 47 | + - identifier_name |
| 48 | + - implicit_getter |
| 49 | + - implicit_return |
| 50 | + - inert_defer |
| 51 | + - is_disjoint |
| 52 | + - joined_default_parameter |
| 53 | + - last_where |
| 54 | + - leading_whitespace |
| 55 | + - legacy_cggeometry_functions |
| 56 | + - legacy_constant |
| 57 | + - legacy_constructor |
| 58 | + - legacy_hashing |
| 59 | + - legacy_multiple |
| 60 | + - legacy_nsgeometry_functions |
| 61 | + - legacy_random |
| 62 | + - literal_expression_end_indentation |
| 63 | + - lower_acl_than_parent |
| 64 | + - mark |
| 65 | + - modifier_order |
| 66 | + - multiline_arguments |
| 67 | + - multiline_function_chains |
| 68 | + - multiline_literal_brackets |
| 69 | + - multiline_parameters |
| 70 | + - multiline_parameters_brackets |
| 71 | + - nimble_operator |
| 72 | + - no_extension_access_modifier |
| 73 | + - no_fallthrough_only |
| 74 | + - no_space_in_method_call |
| 75 | + - notification_center_detachment |
| 76 | + - nsobject_prefer_isequal |
| 77 | + - number_separator |
| 78 | + - object_literal |
| 79 | + - opening_brace |
| 80 | + - operator_usage_whitespace |
| 81 | + - operator_whitespace |
| 82 | + - orphaned_doc_comment |
| 83 | + - overridden_super_call |
| 84 | + - pattern_matching_keywords |
| 85 | + - prefer_self_type_over_type_of_self |
| 86 | + - private_action |
| 87 | + - private_outlet |
| 88 | + - private_unit_test |
| 89 | + - prohibited_nan_comparison |
| 90 | + - prohibited_super_call |
| 91 | + - protocol_property_accessors_order |
| 92 | + - reduce_boolean |
| 93 | + - reduce_into |
| 94 | + - redundant_discardable_let |
| 95 | + - redundant_nil_coalescing |
| 96 | + - redundant_objc_attribute |
| 97 | + - redundant_optional_initialization |
| 98 | + - redundant_set_access_control |
| 99 | + - redundant_string_enum_value |
| 100 | + - redundant_type_annotation |
| 101 | + - redundant_void_return |
| 102 | + - required_enum_case |
| 103 | + - return_value_from_void_function |
| 104 | + - return_arrow_whitespace |
| 105 | + - shorthand_operator |
| 106 | + - sorted_first_last |
| 107 | + - statement_position |
| 108 | + - static_operator |
| 109 | + - strong_iboutlet |
| 110 | + - superfluous_disable_command |
| 111 | + - switch_case_alignment |
| 112 | + - switch_case_on_newline |
| 113 | + - syntactic_sugar |
| 114 | + - toggle_bool |
| 115 | + - trailing_closure |
| 116 | + - trailing_comma |
| 117 | + - trailing_newline |
| 118 | + - trailing_semicolon |
| 119 | + - trailing_whitespace |
| 120 | + - tuple_pattern |
| 121 | + - unavailable_function |
| 122 | + - unneeded_break_in_switch |
| 123 | + - unneeded_parentheses_in_closure_argument |
| 124 | + - unowned_variable_capture |
| 125 | + - untyped_error_in_catch |
| 126 | + - unused_capture_list |
| 127 | + - unused_closure_parameter |
| 128 | + - unused_control_flow_label |
| 129 | + - unused_enumerated |
| 130 | + - unused_optional_binding |
| 131 | + - unused_setter_value |
| 132 | + - valid_ibinspectable |
| 133 | + - vertical_parameter_alignment |
| 134 | + - vertical_parameter_alignment_on_call |
| 135 | + - vertical_whitespace_closing_braces |
| 136 | + - vertical_whitespace_opening_braces |
| 137 | + - void_return |
| 138 | + - weak_delegate |
| 139 | + - xct_specific_matcher |
| 140 | + - xctfail_message |
| 141 | + - yoda_condition |
| 142 | +analyzer_rules: |
| 143 | + - unused_declaration |
| 144 | + - unused_import |
| 145 | +force_cast: warning |
| 146 | +force_try: warning |
| 147 | +force_unwrapping: warning |
| 148 | +number_separator: |
| 149 | + minimum_length: 5 |
| 150 | +object_literal: |
| 151 | + image_literal: false |
| 152 | +discouraged_object_literal: |
| 153 | + color_literal: false |
| 154 | +identifier_name: |
| 155 | + max_length: |
| 156 | + warning: 100 |
| 157 | + error: 100 |
| 158 | + min_length: |
| 159 | + warning: 2 |
| 160 | + error: 2 |
| 161 | + validates_start_with_lowercase: false |
| 162 | + allowed_symbols: |
| 163 | + - '_' |
| 164 | + excluded: |
| 165 | + - 'x' |
| 166 | + - 'y' |
| 167 | + - 'a' |
| 168 | + - 'b' |
| 169 | + - 'x1' |
| 170 | + - 'x2' |
| 171 | + - 'y1' |
| 172 | + - 'y2' |
| 173 | +deployment_target: |
| 174 | + macOS_deployment_target: '10.11' |
| 175 | +custom_rules: |
| 176 | + no_nsrect: |
| 177 | + regex: '\bNSRect\b' |
| 178 | + match_kinds: typeidentifier |
| 179 | + message: 'Use CGRect instead of NSRect' |
| 180 | + no_nssize: |
| 181 | + regex: '\bNSSize\b' |
| 182 | + match_kinds: typeidentifier |
| 183 | + message: 'Use CGSize instead of NSSize' |
| 184 | + no_nspoint: |
| 185 | + regex: '\bNSPoint\b' |
| 186 | + match_kinds: typeidentifier |
| 187 | + message: 'Use CGPoint instead of NSPoint' |
0 commit comments