.swiftlint.yml
disabled_rules: # rule identifiers to exclude from running - todo - trailing_whitespace - type_name # deactivated because swift3 need lowercase enumsopt_in_rules: # some rules are only opt-in - array_init - empty_count - contains_over_first_not_nil - explicit_init - fatal_error_message - first_where - force_unwrapping - implicit_return - joined_default_parameter - literal_expression_end_indentation - operator_usage_whitespace - overridden_super_call - yoda_condition # Find all the available rules by running: # swiftlint ruleswhitelist_rules:excluded: # paths to ignore during linting. Takes precedence over `included`. - Carthage - Pods - init.swift - R.generated.swiftforce_cast: errorforce_try: severity: warning # explicitlyline_length: warning: 90 error: 100type_body_length: warning: 300 error: 400file_length: warning: 500 error: 850function_parameter_count: warning: 6 error: 8cyclomatic_complexity: ignores_case_statements: true warning: 5 error: 7function_body_length: warning: 25 error: 32identifier_name: excluded: ["id"]reporter: "xcode" # reporter type (xcode, json, csv, checkstyle)