|
| 1 | +included: |
| 2 | + - Sources |
| 3 | +excluded: |
| 4 | + - Tests |
| 5 | +analyzer_rules: |
| 6 | +disabled_rules: |
| 7 | + - large_tuple |
| 8 | + - unused_declaration |
| 9 | + - generic_type_name |
| 10 | +opt_in_rules: |
| 11 | + - anyobject_protocol |
| 12 | + - array_init |
| 13 | + - attributes |
| 14 | + - closure_end_indentation |
| 15 | + - closure_spacing |
| 16 | + - collection_alignment |
| 17 | + - contains_over_filter_count |
| 18 | + - contains_over_filter_is_empty |
| 19 | + - contains_over_first_not_nil |
| 20 | + - discouraged_object_literal |
| 21 | + - empty_count |
| 22 | + - empty_string |
| 23 | + - empty_xctest_method |
| 24 | + - explicit_init |
| 25 | + - extension_access_modifier |
| 26 | + - fallthrough |
| 27 | + - file_header |
| 28 | + - file_name |
| 29 | + - first_where |
| 30 | + - flatmap_over_map_reduce |
| 31 | + - identical_operands |
| 32 | + - joined_default_parameter |
| 33 | + - legacy_random |
| 34 | + - let_var_whitespace |
| 35 | + - last_where |
| 36 | + - literal_expression_end_indentation |
| 37 | + - lower_acl_than_parent |
| 38 | + - modifier_order |
| 39 | + - nimble_operator |
| 40 | + - nslocalizedstring_key |
| 41 | + - number_separator |
| 42 | + - object_literal |
| 43 | + - operator_usage_whitespace |
| 44 | + - overridden_super_call |
| 45 | + - override_in_extension |
| 46 | + - pattern_matching_keywords |
| 47 | + - private_action |
| 48 | + - private_outlet |
| 49 | + - prohibited_interface_builder |
| 50 | + - prohibited_super_call |
| 51 | + - quick_discouraged_call |
| 52 | + - quick_discouraged_focused_test |
| 53 | + - quick_discouraged_pending_test |
| 54 | + - reduce_into |
| 55 | + - redundant_nil_coalescing |
| 56 | + - redundant_type_annotation |
| 57 | + - single_test_class |
| 58 | + - sorted_first_last |
| 59 | + - sorted_imports |
| 60 | + - static_operator |
| 61 | + - strong_iboutlet |
| 62 | + - toggle_bool |
| 63 | + - unavailable_function |
| 64 | + - unneeded_parentheses_in_closure_argument |
| 65 | + - unowned_variable_capture |
| 66 | + - untyped_error_in_catch |
| 67 | + - vertical_parameter_alignment_on_call |
| 68 | + - vertical_whitespace_closing_braces |
| 69 | + - vertical_whitespace_opening_braces |
| 70 | + - xct_specific_matcher |
| 71 | + - yoda_condition |
| 72 | + |
| 73 | +line_length: 135 |
| 74 | + |
| 75 | +# configurable rules can be customized from this configuration file |
| 76 | +# binary rules can set their severity level |
| 77 | +force_cast: warning # implicitly |
| 78 | +force_try: |
| 79 | + severity: warning # explicitly |
| 80 | + |
| 81 | +type_name: |
| 82 | + excluded: |
| 83 | + - on |
| 84 | + - On |
| 85 | +identifier_name: |
| 86 | + excluded: |
| 87 | + - id |
| 88 | + - me |
| 89 | + - on |
| 90 | +number_separator: |
| 91 | + minimum_length: 5 |
| 92 | +file_name: |
| 93 | + excluded: |
| 94 | + - main.swift |
| 95 | + - LinuxMain.swift |
| 96 | + - TestHelpers.swift |
| 97 | + - shim.swift |
| 98 | + - AutomaticRuleTests.generated.swift |
0 commit comments