.swiftlint.yml 635 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
whitelist_rules:
  - closing_brace
  - colon
  - comma
  - control_statement
  - custom_rules
  - empty_count
  - leading_whitespace
  - legacy_cggeometry_functions
  - legacy_constant
  - legacy_constructor
  - mark
  - opening_brace
  - operator_whitespace
  - private_unit_test
16
  - redundant_nil_coalescing
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  - redundant_string_enum_value
  - return_arrow_whitespace
  - syntactic_sugar
  - trailing_semicolon
  - void_return

excluded:
  - Pods
  - .bundle

colon:
  apply_to_dictionaries: false

custom_rules:
  equal_sign_whitespace:
    message: "Expected only one space before and after ="
    regex: "(([ ]{2,}=)|(=[ ]{2,}))"