.swiftlint.yml 648 B

1234567891011121314151617181920212223242526272829303132333435
  1. whitelist_rules:
  2. - closing_brace
  3. - colon
  4. - comma
  5. - control_statement
  6. - custom_rules
  7. - empty_count
  8. - leading_whitespace
  9. - legacy_cggeometry_functions
  10. - legacy_constant
  11. - legacy_constructor
  12. - mark
  13. - opening_brace
  14. - operator_whitespace
  15. - private_unit_test
  16. - redundant_nil_coalescing
  17. - redundant_string_enum_value
  18. - return_arrow_whitespace
  19. - syntactic_sugar
  20. - trailing_semicolon
  21. - void_return
  22. excluded:
  23. - Pods
  24. - .bundle
  25. - fastlane
  26. colon:
  27. apply_to_dictionaries: false
  28. custom_rules:
  29. equal_sign_whitespace:
  30. message: "Expected only one space before and after ="
  31. regex: "(([ ]{2,}=)|(=[ ]{2,}))"