.swiftlint.yml 506 B

12345678910111213141516171819202122232425262728293031323334
  1. opt_in_rules:
  2. - trailing_newline
  3. disabled_rules:
  4. - trailing_whitespace
  5. - type_name
  6. - force_cast
  7. - type_body_length
  8. - file_length
  9. - variable_name
  10. - cyclomatic_complexity
  11. - valid_docs
  12. - missing_docs
  13. - opening_brace
  14. - line_length
  15. - force_try
  16. force_try: warning
  17. line_length: 150
  18. excluded: # Lint対象から外すファイルのあるパスを記述
  19. - Pods
  20. - Carthage
  21. # 関数の長さ
  22. function_body_length:
  23. - 100 # warning
  24. - 300 # error
  25. # 引数の数
  26. function_parameter_count:
  27. - 5 #warning
  28. - 10 #error