.swiftlint.yml 761 B

12345678910111213141516171819202122232425262728293031323334
  1. included:
  2. - Realm/ObjectServerTests
  3. - RealmSwift
  4. - Realm/Swift
  5. identifier_name:
  6. min_length: # not possible to disable this partial rule, so set it to zero
  7. warning: 0
  8. error: 0
  9. excluded:
  10. - _nilValue()
  11. - _nsError
  12. - _nsErrorDomain
  13. - _observe(_:)
  14. - _realmColumnNames()
  15. - _realmObjectName()
  16. - _rlmArray()
  17. - id
  18. - pk
  19. - to
  20. disabled_rules:
  21. - block_based_kvo
  22. - file_length
  23. - force_cast
  24. - force_try
  25. - function_body_length
  26. - line_length
  27. - nesting
  28. - syntactic_sugar
  29. - todo
  30. - type_body_length
  31. - vertical_whitespace
  32. # swiftlint complains about superfluous disable commands when the violation
  33. # occurs in an inactive #if and doesn't support conditionally disabling it
  34. - cyclomatic_complexity