SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Fix only rule config issues

Open mildm8nnered opened this issue 1 year ago • 1 comments

WIP

Partly addresses #5711

func merged(with child: RulesWrapper) -> RulesWrapper is a problem, as this will not respect --only-rules - we may need a dedicated onlyRule RulesMode to get this to work in all cases.

mildm8nnered avatar Aug 03 '24 18:08 mildm8nnered

1 Warning
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
17 Messages
:book: Linting Aerial with this PR took 0.93s vs 0.92s on main (1% slower)
:book: Linting Alamofire with this PR took 1.27s vs 1.28s on main (0% faster)
:book: Linting Brave with this PR took 7.42s vs 7.42s on main (0% slower)
:book: Linting DuckDuckGo with this PR took 4.79s vs 4.82s on main (0% faster)
:book: Linting Firefox with this PR took 10.95s vs 10.92s on main (0% slower)
:book: Linting Kickstarter with this PR took 9.91s vs 9.94s on main (0% faster)
:book: Linting Moya with this PR took 0.53s vs 0.53s on main (0% slower)
:book: Linting NetNewsWire with this PR took 2.54s vs 2.54s on main (0% slower)
:book: Linting Nimble with this PR took 0.76s vs 0.77s on main (1% faster)
:book: Linting PocketCasts with this PR took 8.62s vs 8.54s on main (0% slower)
:book: Linting Quick with this PR took 0.44s vs 0.44s on main (0% slower)
:book: Linting Realm with this PR took 4.66s vs 4.64s on main (0% slower)
:book: Linting Sourcery with this PR took 2.35s vs 2.35s on main (0% slower)
:book: Linting Swift with this PR took 4.55s vs 4.56s on main (0% faster)
:book: Linting VLC with this PR took 1.26s vs 1.26s on main (0% slower)
:book: Linting Wire with this PR took 18.04s vs 18.06s on main (0% faster)
:book: Linting WordPress with this PR took 11.75s vs 11.74s on main (0% slower)

Here's an example of your CHANGELOG entry:

* Fix only rule config issues.  
  [mildm8nnered](https://github.com/mildm8nnered)
  [#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 03 '24 18:08 SwiftLintBot

Replaced by #5773

mildm8nnered avatar Sep 02 '24 00:09 mildm8nnered