# SwiftLint Configuration for ChessPrism

disabled_rules:
  - trailing_whitespace
  - line_length
  - function_body_length
  - file_length
  - type_body_length
  - identifier_name

opt_in_rules:
  - empty_count
  - closure_spacing
  - force_unwrapping
  - force_cast
  - discouraged_direct_init
  - discouraged_object_literal

included:
  - ChessPrism
  - ChessPrismTests
  - ChessPrismUITests

excluded:
  - Carthage
  - Pods
  - SwiftGen
  - R.generated.swift

line_length: 200
warning: 150

type_name:
  min_length: 3
  max_length: 40

identifier_name:
  min_length: 3
  max_length: 40
  excluded:
    - id
    - x
    - y
    - z
    - i
    - j
    - k

reporter: "xcode"

analyzer_rules:
  - explicit_self
  - unused_import
  - unused_declaration
  - unused_setter_value
  - unused_optional_binding
  - unused_enumerated
  - unused_capture_list
  - unused_closure_parameter
  - unused_private_declaration
  - unused_type_parameter
  - unused_optional_chain
  - unused_optional_chain_result
  - unused_optional_chain_result_void
  - unused_optional_chain_result_non_void
  - unused_optional_chain_result_optional
  - unused_optional_chain_result_non_optional
  - unused_optional_chain_result_optional_void
  - unused_optional_chain_result_non_optional_void
  - unused_optional_chain_result_optional_non_void
  - unused_optional_chain_result_non_optional_non_void
