SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

WIP: Rewrite mark rule using SwiftSyntax

Open jpsim opened this issue 3 years ago • 1 comments

Still needs work, especially the correction logic.

jpsim avatar Aug 16 '22 13:08 jpsim

2 Warnings
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
:warning: This PR may need tests.
13 Messages
:book: Linting Aerial with this PR took 0.43s vs 0.43s on master (0% slower)
:book: Linting Alamofire with this PR took 0.34s vs 0.36s on master (5% faster)
:book: Linting Firefox with this PR took 1.39s vs 1.42s on master (2% faster)
:book: Linting Kickstarter with this PR took 1.95s vs 1.95s on master (0% slower)
:book: Linting Moya with this PR took 0.23s vs 0.23s on master (0% slower)
:book: Linting Nimble with this PR took 0.22s vs 0.22s on master (0% slower)
:book: Linting Quick with this PR took 0.15s vs 0.15s on master (0% slower)
:book: Linting Realm with this PR took 1.2s vs 1.24s on master (3% faster)
:book: Linting SourceKitten with this PR took 0.21s vs 0.22s on master (4% faster)
:book: Linting Sourcery with this PR took 0.56s vs 0.59s on master (5% faster)
:book: Linting Swift with this PR took 0.94s vs 0.96s on master (2% faster)
:book: Linting WordPress with this PR took 2.16s vs 2.38s on master (9% faster)
:book: This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/Bid Fulfillment/ManualCreditCardInputViewModel.swift:19:5: warning: Mark Violation: MARK comment should be in valid format. e.g. '// MARK: …' or '// MARK: - …' (mark)

Here's an example of your CHANGELOG entry:

* WIP: Rewrite mark rule using SwiftSyntax.  
  [jpsim](https://github.com/jpsim)
  [#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 Aug 16 '22 13:08 SwiftLintBot