SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Allow opening brace on newline in case of multiline class or struct

Open revolter opened this issue 3 years ago • 1 comments

revolter avatar Apr 10 '21 14:04 revolter

1 Warning
:warning: Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
12 Messages
:book: Linting Aerial with this PR took 2.42s vs 2.49s on master (2% faster)
:book: Linting Alamofire with this PR took 3.75s vs 3.78s on master (0% faster)
:book: Linting Firefox with this PR took 12.51s vs 12.81s on master (2% faster)
:book: Linting Kickstarter with this PR took 19.12s vs 19.48s on master (1% faster)
:book: Linting Moya with this PR took 1.67s vs 1.7s on master (1% faster)
:book: Linting Nimble with this PR took 1.54s vs 1.51s on master (1% slower)
:book: Linting Quick with this PR took 0.63s vs 0.65s on master (3% faster)
:book: Linting Realm with this PR took 4.94s vs 5.01s on master (1% faster)
:book: Linting SourceKitten with this PR took 1.21s vs 1.22s on master (0% faster)
:book: Linting Sourcery with this PR took 10.36s vs 10.54s on master (1% faster)
:book: Linting Swift with this PR took 14.63s vs 14.63s on master (0% slower)
:book: Linting WordPress with this PR took 24.02s vs 24.27s on master (1% faster)

Here's an example of your CHANGELOG entry:

* Allow opening brace on newline in case of multiline class or struct.  
  [revolter](https://github.com/revolter)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by :no_entry_sign: Danger

SwiftLintBot avatar Apr 10 '21 14:04 SwiftLintBot