Tokamak/Sources/TokamakDOM/Views
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
..
Buttons Revise ShapeStyle and add Gradients (#435) 2021-08-14 18:26:39 -04:00
Canvas Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
Containers Replace `ViewDeferredToRenderer`, fix renderer tests (#408) 2021-06-07 17:24:02 +01:00
Layout Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
Navigation Replace `ViewDeferredToRenderer`, fix renderer tests (#408) 2021-06-07 17:24:02 +01:00
Selectors Replace `ViewDeferredToRenderer`, fix renderer tests (#408) 2021-06-07 17:24:02 +01:00
Text Support `foregroundColor` for `TextField` (#453) 2022-05-28 14:46:37 -04:00
DynamicHTML.swift Replace `ViewDeferredToRenderer`, fix renderer tests (#408) 2021-06-07 17:24:02 +01:00