SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Rewrite `nimble_operator` rule with SwiftSyntax

Open marcelofabri opened this issue 2 years ago • 2 comments

marcelofabri avatar Nov 06 '22 09:11 marcelofabri

164 Warnings
:warning: This PR may need tests.
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProvider+ReactiveSpec.swift:115:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProvider+ReactiveSpec.swift:122:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProvider+ReactiveSpec.swift:128:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProvider+ReactiveSpec.swift:130:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:217:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:235:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:261:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:276:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:321:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:342:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:343:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:366:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:367:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:386:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:692:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:698:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:701:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/MoyaProviderSpec.swift:705:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:350:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:366:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:377:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:389:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:407:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:423:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:436:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:448:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:465:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:480:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:495:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Observable+MoyaSpec.swift:510:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:329:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:345:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:357:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:369:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:387:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:403:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:416:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:428:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:445:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:460:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:475:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/SignalProducer+MoyaSpec.swift:490:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:339:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:355:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:367:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:379:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:397:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:413:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:426:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:438:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:455:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:470:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:485:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/Single+MoyaSpec.swift:500:21: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/AsyncAwaitTest+Require.swift:56:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/AsyncAwaitTest.swift:16:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/DSLTest.swift:131:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/DSLTest.swift:132:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/DSLTest.swift:68:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/DSLTest.swift:72:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/Matchers/EqualTest.swift:182:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/Matchers/EqualTest.swift:18:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/PollingTest+Require.swift:26:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/PollingTest+Require.swift:31:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/PollingTest+Require.swift:57:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/SynchronousTest.swift:27:13: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Nimble: /Tests/NimbleTests/SynchronousTest.swift:30:13: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Output/DryOutputSpec.swift:154:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Output/DryOutputSpec.swift:170:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Output/DryOutputSpec.swift:191:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Output/DryOutputSpec.swift:242:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Output/DryOutputSpec.swift:504:18: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:1029:35: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:1062:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:1375:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:305:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:313:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:322:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:333:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:348:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:355:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:447:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:481:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:494:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:520:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:544:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:571:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:579:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:589:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:598:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:863:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:969:35: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:97:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/ComposerSpec.swift:990:35: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:1062:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:1069:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:1076:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:1086:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:1094:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:206:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:219:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:228:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:237:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:251:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:258:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:265:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:294:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:321:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:353:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:362:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:392:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:404:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:411:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:422:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:431:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:440:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:457:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:479:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:486:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:502:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:511:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:525:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:634:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:641:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:648:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:667:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:676:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:714:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:748:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:779:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:821:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:835:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:848:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:856:29: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:866:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:875:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Parsing/FileParserSpec.swift:884:25: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:warning: Danger found 164 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 138.
31 Messages
:book: Linting Aerial with this PR took 0.2s vs 0.27s on main (25% faster)
:book: Linting Alamofire with this PR took 0.12s vs 0.3s on main (60% faster)
:book: Linting Brave with this PR took 0.54s vs 1.72s on main (68% faster)
:book: Linting DuckDuckGo with this PR took 0.4s vs 0.95s on main (57% faster)
:book: Linting Firefox with this PR took 0.56s vs 1.72s on main (67% faster)
:book: Linting Kickstarter with this PR took 0.59s vs 1.83s on main (67% faster)
:book: Linting Moya with this PR took 0.15s vs 0.19s on main (21% faster)
:book: Linting NetNewsWire with this PR took 0.22s vs 0.65s on main (66% faster)
:book: Linting Nimble with this PR took 0.12s vs 0.23s on main (47% faster)
:book: Linting PocketCasts with this PR took 0.52s vs 1.54s on main (66% faster)
:book: Linting Quick with this PR took 0.09s vs 0.14s on main (35% faster)
:book: Linting Realm with this PR took 0.44s vs 1.01s on main (56% faster)
:book: Linting Sourcery with this PR took 0.26s vs 0.56s on main (53% faster)
:book: Linting Swift with this PR took 0.27s vs 0.93s on main (70% faster)
:book: Linting VLC with this PR took 0.16s vs 0.34s on main (52% faster)
:book: Linting Wire with this PR took 1.13s vs 3.84s on main (70% faster)
:book: Linting WordPress with this PR took 0.81s vs 2.57s on main (68% faster)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/DSLTest.swift:28:39: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/RaisesExceptionTest.swift:151:17: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:114:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:115:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:117:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:46:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:47:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:48:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift:50:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAnyOfTest.swift:116:15: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAnyOfTest.swift:46:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAnyOfTest.swift:47:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/SatisfyAnyOfTest.swift:49:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)
:book: This PR fixed a violation in Nimble: /Tests/NimbleTests/Matchers/ThrowAssertionTest.swift:45:9: warning: Nimble Operator Violation: Prefer Nimble operator overloads over free matcher functions (nimble_operator)

Generated by :no_entry_sign: Danger

SwiftLintBot avatar Nov 06 '22 09:11 SwiftLintBot

I've looked at the results from oss-check and they all seem legit. The one I'm not sure about is https://github.com/Quick/Nimble/blob/96f0ee4751318a5b3c36f347522cfacfd5aa1473/Tests/NimbleTests/AsyncAwaitTest.swift#L13:15:

await expect { try await someAsyncFunction() }.to(equal(1))

Update

I've cloned Nimble and changed the test to use == 1 and it works, so I'd say we can keep it as a violation.

marcelofabri avatar Nov 06 '22 10:11 marcelofabri