Tokamak/Sources/TokamakDOM/Views/Canvas
Max Desiatov 9db23c9e3f
Tweak formatting rules for attributes (#492)
The abundance of `@_spi(TokamakCore)` makes it harder to parse some of our code visually when skimming. I propose consistently moving attributes on declarations to separate lines. Here's an update to `.swiftformat` config with the new settings applied to the codebase.

* Tweak formatting rules

* Improve readability with newlines

* More newlines to visually separate declarations

* Fix build error caused by merge conflict

Co-authored-by: Carson Katri <Carson.katri@gmail.com>
2022-05-31 08:18:53 +01:00
..
Canvas.swift Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
ImageOperations.swift Add Canvas and TimelineView to DOM renderer (#449) 2021-09-28 10:27:35 -04:00
PathOperations.swift Add Canvas and TimelineView to DOM renderer (#449) 2021-09-28 10:27:35 -04:00
SymbolOperations.swift Add Canvas and TimelineView to DOM renderer (#449) 2021-09-28 10:27:35 -04:00
TextOperations.swift Add Canvas and TimelineView to DOM renderer (#449) 2021-09-28 10:27:35 -04:00
TimelineView.swift Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00