Skip to content

Add new redundant_acl rule - #6941

Open
setouchi-h wants to merge 1 commit into
realm:mainfrom
setouchi-h:redundant-acl-rule
Open

setouchi-h wants to merge 1 commit into
realm:mainfrom
setouchi-h:redundant-acl-rule

Conversation

@setouchi-h

@setouchi-h setouchi-h commented Oct 3, 2026 •

Copy link
Copy Markdown

Summary

Fixes #5828

Adds a new opt-in, correctable rule redundant_acl that flags access level
modifiers which only restate the default access level:

  • internal on top-level declarations and on members of internal types
  • a modifier equal to the enclosing extension's access level, e.g. public
    in public extension E { public func f() }

Deliberately not flagged:

  • internal inside types more visible than internal, e.g.
    public struct S { internal let a = 1 }, as it documents an intentional
    restriction (matches the non-triggering example in the issue)
  • private, because private at file scope and inside a declaration have
    different scopes, so it is never a pure restatement
  • setter modifiers like private(set), which are covered by
    redundant_set_access_control

The rule is added to disabled_rules in .swiftlint.yml for now. Enabling it
and cleaning up the existing redundant internal modifiers in this repository
can be done in a follow-up, as it was done for other rules.

Known limitation shared with lower_acl_than_parent: correcting a modifier
that sits on its own line leaves an empty line behind, since the newline is
part of the next token's leading trivia.

If you'd rather have this as an option of explicit_acl instead of a separate
rule, as suggested in the issue, I'm happy to rework it that way.

Test plan

  • Triggering, non-triggering and correction examples in the rule description
    are verified by the generated RedundantACLRuleGeneratedTests.
  • IntegrationTests pass, i.e. linting this repository with its own
    configuration reports no violations.
  • Running the rule alone against this repository finds 69 redundant internal
    modifiers; applying --fix removes exactly those and the project still
    builds.

@SwiftLintBot

Copy link
Copy Markdown
5531 Warnings
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Views/AerialView.swift:561:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Migration/Migration+Debug.swift:11:14: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in Brave: /ios/brave-ios/Sources/Brave/Migration/Migration.swift:464:3: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/UnitTests/Permissions/WebViewMock.swift:174:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:159:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:196:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:221:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:230:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:242:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:252:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:282:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:344:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileOptOutSubJob.swift:430:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:175:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:185:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:197:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:224:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:239:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:249:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:257:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:289:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:304:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:314:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:338:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:357:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:472:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Operations/SubJob/BrokerProfileScanSubJob.swift:582:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/Model/Actions/Expectation.swift:35:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/DataBrokerProtectionCore/Sources/DataBrokerProtectionCore/OptOutServices/EmailService.swift:202:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/PixelKit/Sources/PixelKit/PixelKit.swift:1281:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/PixelKit/Sources/PixelKit/PixelKit.swift:1381:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/LocalPackages/DataBrokerProtection-macOS/Sources/DataBrokerProtection-macOS/Debug/ForceOptOut/DataBrokerForceOptOutViewModel.swift:27:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/LocalPackages/DataBrokerProtection-macOS/Sources/DataBrokerProtection-macOS/Debug/ForceOptOut/DataBrokerForceOptOutViewModel.swift:65:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/LocalPackages/DataBrokerProtection-macOS/Sources/DataBrokerProtection-macOS/Debug/DataBaseBrowser/DataBrokerDatabaseBrowserViewModel.swift:55:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/LocalPackages/NewTabPage/Sources/NewTabPage/Omnibar/NewTabPageDataModel+Omnibar.swift:635:5: Warning: 'public' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/DeviceAuthentication/DeviceAuthenticator.swift:61:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Autofill/Onboarding/AutofillToolbarOnboardingViewModel.swift:24:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Tab/Services/WebsiteDataStore.swift:40:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Tab/TabExtensions/PopupHandlingTabExtension.swift:307:16: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/NavigationBar/View/AddressBarMenuButton.swift:28:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/NavigationBar/View/AddressBarButton.swift:21:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/PromptBar/View/PromptBarWindow.swift:24:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/DataImport/Logins/Firefox/FirefoxDataImporter.swift:24:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/DataImport/Logins/Chromium/ChromiumDataImporter.swift:24:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Database/CoreDataStore.swift:58:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/AppKit/DraggingDestinationView.swift:22:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/AppKit/MouseEventInterceptingView.swift:30:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/AppKit/MouseOverButton.swift:31:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/AppKit/ColorView.swift:21:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/SwiftUI/SheetHostingWindow.swift:24:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/View/AppKit/MouseOverView.swift:50:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Bookmarks/Model/Bookmark.swift:22:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Fireproofing/Model/FireproofDomains.swift:29:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/NewTabPage/NewTabPageSectionsAvailabilityProvider.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/StateRestoration/View/SessionRestorePromptViewModel.swift:24:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/StateRestoration/AppStateRestorationManager.swift:59:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Windows/View/WindowsManager.swift:24:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/NavigationTests/Helpers/WKNavigationActionMock.swift:120:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/Settings/helpers/SettingsProviderTestsBase.swift:108:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/CreditCards/helpers/CreditCardsProviderTestsBase.swift:30:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/Bookmarks/helpers/BookmarksProviderTestsBase.swift:27:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/Identities/helpers/IdentitiesProviderTestsBase.swift:29:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/Credentials/helpers/CredentialsProviderTestsBase.swift:36:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/SyncDataProvidersTests/Bookmarks/BookmarksProviderTests.swift:28:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Tests/BrowserServicesKitTests/SecureVault/MockAutofillDatabaseProvider.swift:30:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/LocalPackages/AppUpdater/Sources/SparkleAppUpdater/SparkleUpdateController.swift:604:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/ContentBlocking/ContentBlockingRulesCompilationTask.swift:28:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/ContentBlocking/ContentBlockingRulesCompilationTask.swift:54:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/Watchdog/WatchdogDetectionState.swift:21:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/Watchdog/WatchdogDetectionState.swift:26:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/Watchdog/WatchdogTracker.swift:21:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Crashes/CrashLogMessageExtractor.swift:251:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKNavigationResponseExtension.swift:25:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKNavigationExtension.swift:25:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKNavigationExtension.swift:50:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKNavigationExtension.swift:54:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKWebViewExtension.swift:139:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/MaliciousSiteProtection/Logger+MaliciousSiteProtection.swift:31:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/Navigation/Extensions/WKNavigationActionExtension.swift:141:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/History/NSManagedObject+Helpers.swift:21:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/AutofillCredentialProvider/CredentialProvider/CredentialProviderListDetails/CredentialProviderListDetailsViewModel.swift:88:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/LocalPackages/DataBrokerProtection-iOS/Sources/DataBrokerProtection-iOS/Debug/DebugSaveProfile/DebugSaveProfileViewModel.swift:104:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/LocalPackages/DataBrokerProtection-iOS/Sources/DataBrokerProtection-iOS/Debug/DatabaseBrowser/DebugDatabaseBrowserViewModel.swift:30:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/LegacyBookmarksCoreDataStorage.swift:240:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/LegacyBookmarksCoreDataStorage.swift:250:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/LegacyBookmarksCoreDataStorage.swift:273:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/LegacyBookmarksCoreDataStorage.swift:286:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/Core/LegacyBookmarksCoreDataStorage.swift:372:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/OmniBarViewController.swift:77:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/OmniBarViewController.swift:78:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/EmailAddressPromptViewController.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/AutofillExtensionPrompt/AutofillExtensionPromptViewController.swift:33:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/PasswordGeneration/PasswordGenerationPromptViewController.swift:34:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/PasswordGeneration/PasswordGenerationPromptViewModel.swift:44:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/ImportPasswordsPrompt/ImportPasswordsPromptViewController.swift:34:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/Shared/FaviconViewModel.swift:32:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/AutofillLoginUI/AutofillLoginPromptViewModel.swift:97:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/AutofillLoginUI/AutofillLoginPromptViewModel.swift:166:1: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/AutofillLoginUI/AutofillLoginPromptViewController.swift:39:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/SaveLogin/SaveLoginViewModel.swift:157:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/SaveLogin/SaveLoginViewController.swift:43:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/SaveLogin/SaveAutofillLoginManager.swift:44:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/SaveCreditCard/SaveCreditCardViewController.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/CreditCardManagement/CreditCardDetails/AutofillCreditCardDetailsViewModel.swift:119:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/CreditCardPrompt/CreditCardPromptViewController.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/PasswordManagement/LoginDetails/AutofillLoginDetailsViewModel.swift:184:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Autofill/PasswordManagement/List/AutofillLoginListViewModel.swift:107:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Subscription/AsyncHeadlessWebview/AsyncHeadlessWebView.swift:52:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/EmailSignupPromptViewController.swift:44:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/VoiceSearchFeedbackViewModel.swift:82:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Application/AppConfigurationURLProvider.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Downloads/DownloadsList/ViewModel/DownloadsListRowViewModel.swift:27:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Downloads/URLDownloadSession.swift:36:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Downloads/WKDownloadSession.swift:45:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DuckPlayer/NativeUI/Views/DuckPlayerViewModel.swift:123:16: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DuckPlayer/NativeUI/DuckPlayerNativeUIPresenter.swift:98:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DuckPlayer/NativeUI/DuckPlayerNativeUIPresenter.swift:100:5: Warning: 'internal' is the default access level here and can be omitted (redundant_acl)
⚠️ Danger found 5531 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 117.
20 Messages
📖 Building this branch resulted in a binary size of 28817.55 KiB vs 28755.54 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 0.68 s vs 0.68 s on main (0% slower).
📖 Linting Alamofire with this PR took 0.98 s vs 0.98 s on main (0% slower).
📖 Linting Brave with this PR took 5.53 s vs 5.49 s on main (0% slower).
📖 Linting Brigade with this PR took 18.1 s vs 18.28 s on main (0% faster).
📖 Linting DuckDuckGo with this PR took 32.22 s vs 31.93 s on main (0% slower).
📖 Linting Firefox with this PR took 11.7 s vs 11.64 s on main (0% slower).
📖 Linting Kickstarter with this PR took 7.38 s vs 7.34 s on main (0% slower).
📖 Linting Moya with this PR took 0.38 s vs 0.38 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 2.58 s vs 2.58 s on main (0% slower).
📖 Linting Nimble with this PR took 0.56 s vs 0.56 s on main (0% slower).
📖 Linting PocketCasts with this PR took 7.42 s vs 7.43 s on main (0% faster).
📖 Linting Quick with this PR took 0.36 s vs 0.36 s on main (0% slower).
📖 Linting Realm with this PR took 2.96 s vs 2.96 s on main (0% slower).
📖 Linting Sourcery with this PR took 1.71 s vs 1.65 s on main (3% slower).
📖 Linting Swift with this PR took 4.56 s vs 4.54 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.18 s vs 0.18 s on main (0% slower).
📖 Linting VLC with this PR took 1.43 s vs 1.44 s on main (0% faster).
📖 Linting Wire with this PR took 16.44 s vs 16.4 s on main (0% slower).
📖 Linting WordPress with this PR took 10.68 s vs 10.72 s on main (0% faster).

Generated by 🚫 Danger

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rule Request: Don't add ACL modifiers when they're already the default

2 participants