91 lines
1.8 KiB
YAML
91 lines
1.8 KiB
YAML
included:
|
|
- Tempestas
|
|
- Packages/TempestasDomain/Sources
|
|
- Packages/TempestasDomain/Tests
|
|
- Packages/TempestasInfrastructure/Sources
|
|
- Packages/TempestasInfrastructure/Tests
|
|
- Packages/TempestasPresentation/Sources
|
|
- Packages/TempestasPresentation/Tests
|
|
- TempestasTests
|
|
- TempestasUITests
|
|
|
|
excluded:
|
|
- "**/.build"
|
|
- "**/.swiftpm"
|
|
- "**/DerivedData"
|
|
|
|
opt_in_rules:
|
|
- array_init
|
|
- closure_end_indentation
|
|
- closure_spacing
|
|
- collection_alignment
|
|
- contains_over_filter_count
|
|
- contains_over_filter_is_empty
|
|
- contains_over_first_not_nil
|
|
- convenience_type
|
|
- discouraged_optional_boolean
|
|
- empty_count
|
|
- empty_string
|
|
- enum_case_associated_values_count
|
|
- explicit_init
|
|
- fatal_error_message
|
|
- first_where
|
|
- force_unwrapping
|
|
- identical_operands
|
|
- implicit_return
|
|
- joined_default_parameter
|
|
- last_where
|
|
- literal_expression_end_indentation
|
|
- modifier_order
|
|
- multiline_arguments
|
|
- multiline_parameters
|
|
- operator_usage_whitespace
|
|
- overridden_super_call
|
|
- pattern_matching_keywords
|
|
- prefer_self_type_over_type_of_self
|
|
- redundant_nil_coalescing
|
|
- redundant_type_annotation
|
|
- sorted_first_last
|
|
- sorted_imports
|
|
- static_operator
|
|
- strict_fileprivate
|
|
- toggle_bool
|
|
- trailing_closure
|
|
- unneeded_parentheses_in_closure_argument
|
|
- unused_import
|
|
- vertical_whitespace_closing_braces
|
|
- vertical_whitespace_opening_braces
|
|
- yoda_condition
|
|
|
|
line_length:
|
|
warning: 120
|
|
error: 160
|
|
ignores_comments: true
|
|
ignores_urls: true
|
|
|
|
type_body_length:
|
|
warning: 300
|
|
error: 400
|
|
|
|
file_length:
|
|
warning: 400
|
|
error: 600
|
|
ignore_comment_only_lines: true
|
|
|
|
function_body_length:
|
|
warning: 50
|
|
error: 80
|
|
|
|
cyclomatic_complexity:
|
|
warning: 12
|
|
error: 20
|
|
|
|
identifier_name:
|
|
min_length: 2
|
|
excluded:
|
|
- id
|
|
- x
|
|
- y
|
|
|
|
reporter: "xcode"
|