Tokamak/Sources/TokamakCore/Views/Controls
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
..
Selectors Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
Button.swift Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
ControlGroup.swift Tweak formatting rules for attributes (#492) 2022-05-31 08:18:53 +01:00
Link.swift Add controlSize/controlProminence modifiers (#431) 2021-07-19 13:58:14 -04:00