SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Add testable_import opt-in rule

Open marcelofabri opened this issue 3 years ago • 1 comments

marcelofabri avatar Apr 20 '22 18:04 marcelofabri

150 Warnings
:warning: Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
:warning: This PR introduced a violation in Firefox: /ClientTests/HelperClass/NimbusMock.swift:6:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /SyncTests/Mocking.swift:8:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/BookmarksPanelTests.swift:5:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/BookmarksPanelTests.swift:6:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/BrowserTests.swift:7:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/ClearPrivateDataTests.swift:9:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/Global.swift:10:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/LoginInputTests.swift:6:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/LoginManagerTests.swift:7:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/NavigationDelegateTests.swift:6:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/NoImageModeTests.swift:6:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/ReopenLastTabTests.swift:7:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/SecurityTests.swift:7:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/SessionRestoreTests.swift:8:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Firefox: /UITests/TrackingProtectionTests.swift:7:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/AppDelegate.swift:8:3: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/TestHelpers/MockAppEnvironment.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/TestHelpers/MockFeedbackGenerator.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/AddNewCardViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/AddNewCardViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/AddNewCardViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/BetaToolsViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/BetaToolsViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/BetaToolsViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/DiscoveryPageViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/DiscoveryPageViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/DiscoveryPageViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/FacebookConfirmationViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/FindFriendsViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/FindFriendsViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/FindFriendsViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/LoginViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManagePledgeViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManagePledgeViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManagePledgeViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManageViewPledgeRewardReceivedViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManageViewPledgeRewardReceivedViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ManageViewPledgeRewardReceivedViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/OptimizelyFeatureFlagToolsViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/OptimizelyFeatureFlagToolsViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/OptimizelyFeatureFlagToolsViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PaymentMethodsViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PaymentMethodsViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PaymentMethodsViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeAmountViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeAmountViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeAmountViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/PledgeViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ResetPasswordViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardAddOnSelectionViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardAddOnSelectionViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardAddOnSelectionViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardsCollectionViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardsCollectionViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RewardsCollectionViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RiskMessagingViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/RiskMessagingViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/SettingsNotificationsViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/SettingsNotificationsViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ShippingRulesTableViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ShippingRulesTableViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ShippingRulesTableViewControllerTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/SignupViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ThanksViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ThanksViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ToggleViewControllerTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Views/Controllers/ToggleViewControllerTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/models/graphql/adapters/UserEnvelope+GraphUserEnvelopeTemplates.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/FetchProjectQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/fragment/CommentFragmentTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/fragment/UserFragmentTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/ClearUserUnseenActivityMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/CreateBackingMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/CreatePaymentSourceMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/DeletePaymentSourceMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/PostCommentMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/SignInWithAppleMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/UpdateBackingMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/mutation/WatchProjectMutationTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchAddOnsQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchCategoryQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchCommentRepliesQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchProjectCommentsQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchProjectFriendsQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchProjectQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchProjectRewardsByIdQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchRootCategoriesQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchUpdateCommentsQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /KsApi/mutations/templates/query/FetchUserBackingsQueryTemplate.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/MockPushRegistration.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/TestHelpers/AlertError+Equatable.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/TestHelpers/MockBundle.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/BackingCellViewModelTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/BackingCellViewModelTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/MessageCellViewModelTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/MessageThreadCellViewModelTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ProjectPamphletCreatorHeaderCellViewModelTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ProjectPamphletCreatorHeaderCellViewModelTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/RewardCellViewModelTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ShippingRuleCellViewModelTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ShippingRuleCellViewModelTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ShippingRulesViewModelTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Kickstarter: /Library/ViewModels/ShippingRulesViewModelTests.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Moya: /Tests/MoyaTests/TestPlugin.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Helpers/Extensions.swift:10:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Helpers/Extensions.swift:12:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in Sourcery: /SourceryTests/Helpers/Extensions.swift:8:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/AccountBuilder.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/AllTimeStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/AllTimeStatsRecordValueTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/Analytics/Utils/TestAnalyticsTracker.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/AnnualAndMostPopularTimeStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/AnnualAndMostPopularTimeStatsRecordValueTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/BlogBuilder.swift:3:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/ClicksStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/CountryStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/FileDownloadsStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/FollowersStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/FollowersStatsRecordValueTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/ImmuTableTestUtils.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/LastPostStatsRecordValueTests.swift:1:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/LastPostStatsRecordValueTests.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/MediaBuilder.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/MediaPicker/Tenor/MockTenorService.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/MediaPicker/Tenor/TenorMockDataHelper.swift:4:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: This PR introduced a violation in WordPress: /WordPress/WordPressTest/MockContentCoordinator.swift:2:1: error: Testable Import Violation: @testable import should only be used in test files (testable_import)
:warning: Danger found 150 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 129.
12 Messages
:book: Linting Aerial with this PR took 1.01s vs 1.0s on master (1% slower)
:book: Linting Alamofire with this PR took 1.14s vs 1.14s on master (0% slower)
:book: Linting Firefox with this PR took 4.35s vs 4.32s on master (0% slower)
:book: Linting Kickstarter with this PR took 7.68s vs 7.65s on master (0% slower)
:book: Linting Moya with this PR took 4.41s vs 4.37s on master (0% slower)
:book: Linting Nimble with this PR took 0.42s vs 0.42s on master (0% slower)
:book: Linting Quick with this PR took 0.18s vs 0.19s on master (5% faster)
:book: Linting Realm with this PR took 10.61s vs 10.05s on master (5% slower)
:book: Linting SourceKitten with this PR took 0.34s vs 0.34s on master (0% slower)
:book: Linting Sourcery with this PR took 2.08s vs 2.07s on master (0% slower)
:book: Linting Swift with this PR took 3.32s vs 3.3s on master (0% slower)
:book: Linting WordPress with this PR took 7.77s vs 7.74s on master (0% slower)

Here's an example of your CHANGELOG entry:

* Add testable_import opt-in rule.  
  [marcelofabri](https://github.com/marcelofabri)
  [#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 20 '22 18:04 SwiftLintBot