rules.swiftformat 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --allman false
  2. --assetliterals visual-width
  3. --beforemarks
  4. --binarygrouping 4,8
  5. --categorymark "MARK: %c"
  6. --classthreshold 0
  7. --closingparen balanced
  8. --commas always
  9. --conflictmarkers reject
  10. --decimalgrouping 3,6
  11. --elseposition same-line
  12. --enumthreshold 0
  13. --exponentcase lowercase
  14. --exponentgrouping disabled
  15. --extensionacl on-extension
  16. --extensionlength 0
  17. --extensionmark "MARK: - %t + %c"
  18. --fractiongrouping disabled
  19. --fragment false
  20. --funcattributes preserve
  21. --groupedextension "MARK: %c"
  22. --guardelse auto
  23. --header ignore
  24. --hexgrouping 4,8
  25. --hexliteralcase uppercase
  26. --ifdef indent
  27. --importgrouping alphabetized
  28. --indent 4
  29. --indentcase false
  30. --lifecycle
  31. --linebreaks lf
  32. --markextensions always
  33. --marktypes always
  34. --maxwidth none
  35. --modifierorder
  36. --nevertrailing
  37. --nospaceoperators
  38. --nowrapoperators
  39. --octalgrouping 4,8
  40. --operatorfunc spaced
  41. --organizetypes class,enum,struct
  42. --patternlet hoist
  43. --ranges spaced
  44. --redundanttype inferred
  45. --self remove
  46. --selfrequired
  47. --semicolons inline
  48. --shortoptionals always
  49. --smarttabs enabled
  50. --stripunusedargs always
  51. --structthreshold 0
  52. --swiftversion 4.0
  53. --tabwidth unspecified
  54. --trailingclosures
  55. --trimwhitespace always
  56. --typeattributes preserve
  57. --typemark "MARK: - %t"
  58. --varattributes preserve
  59. --voidtype void
  60. --wraparguments preserve
  61. --wrapcollections preserve
  62. --wrapconditions preserve
  63. --wrapparameters preserve
  64. --wrapreturntype preserve
  65. --xcodeindentation disabled
  66. --yodaswap always
  67. --disable initCoderUnavailable,redundantType