wwt / SwiftCurrent

A library for managing complex workflows in Swift
https://wwt.github.io/SwiftCurrent/
Apache License 2.0
308 stars 19 forks source link

Adds preference for attributes on the same line as what they attribute to the StyleGuide #63

Closed wiemerm closed 3 years ago

wiemerm commented 3 years ago

Linked Issue: #42

Checklist:


If Applicable:


If Public API Has Changed:

Tyler-Keith-Thompson commented 3 years ago

Should we call out the @available attribute?

codecov-commenter commented 3 years ago

Codecov Report

Merging #63 (2ef71b1) into main (2baa360) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #63   +/-   ##
=======================================
  Coverage   97.25%   97.25%           
=======================================
  Files          35       35           
  Lines         985      985           
=======================================
  Hits          958      958           
  Misses         27       27           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 260c93f...2ef71b1. Read the comment docs.

wiemerm commented 3 years ago

EOD: Decided to make 2 rules, one for inlining attributes for properties, functions, and closures and another for a separate line for classes, structs, and actors. Currently working through expanding content order to be clearer that attributes are included.