Skip to content

fix(nesting): ignore typealiases in nesting depth by default#6650

Closed
leno23 wants to merge 1 commit into
realm:mainfrom
leno23:fix/nesting-ignore-typealiases-default-3183
Closed

fix(nesting): ignore typealiases in nesting depth by default#6650
leno23 wants to merge 1 commit into
realm:mainfrom
leno23:fix/nesting-ignore-typealiases-default-3183

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • Default ignore_typealiases_and_associatedtypes to true in the nesting rule.
  • Typealiases and associated types no longer count toward type nesting depth unless users opt out with ignore_typealiases_and_associatedtypes: false.

Fixes #3183

Test plan

  • Added non-triggering example from the issue report
  • Renamed/updated tests for default behavior and opt-out via false
  • CI (Buildkite)

Note

The ignore_typealiases_and_associatedtypes option already existed; this change only updates the default to match expected behavior described in the issue.

Made with Cursor

Typealiases and associated types are not separate type definitions and should
not count toward the type nesting limit unless explicitly configured.

Fixes realm#3183
@SwiftLintBot
Copy link
Copy Markdown

2 Warnings
⚠️ This PR introduced a violation in Moya: /Sources/Moya/Plugins/NetworkLoggerPlugin.swift:121:37: Warning: SwiftLint rule 'nesting' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
⚠️ This PR introduced a violation in Moya: /Sources/Moya/Plugins/NetworkLoggerPlugin.swift:192:37: Warning: SwiftLint rule 'nesting' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
488 Messages
📖 Building this branch resulted in a binary size of 27639.43 KiB vs 27639.02 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 0.84 s vs 0.81 s on main (3% slower).
📖 Linting Alamofire with this PR took 1.08 s vs 1.11 s on main (2% faster).
📖 Linting Brave with this PR took 7.42 s vs 7.42 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 29.78 s vs 29.91 s on main (0% faster).
📖 Linting Firefox with this PR took 12.6 s vs 12.68 s on main (0% faster).
📖 Linting Kickstarter with this PR took 8.65 s vs 8.65 s on main (0% slower).
📖 Linting Moya with this PR took 0.47 s vs 0.45 s on main (4% slower).
📖 Linting NetNewsWire with this PR took 2.93 s vs 2.92 s on main (0% slower).
📖 Linting Nimble with this PR took 0.72 s vs 0.67 s on main (7% slower).
📖 Linting PocketCasts with this PR took 8.14 s vs 8.2 s on main (0% faster).
📖 Linting Quick with this PR took 0.45 s vs 0.43 s on main (4% slower).
📖 Linting Realm with this PR took 3.0 s vs 3.03 s on main (0% faster).
📖 Linting Sourcery with this PR took 1.93 s vs 1.91 s on main (1% slower).
📖 Linting Swift with this PR took 4.84 s vs 4.89 s on main (1% faster).
📖 Linting SwiftLintPerformanceTests with this PR took 0.33 s vs 0.33 s on main (0% slower).
📖 Linting VLC with this PR took 1.25 s vs 1.25 s on main (0% slower).
📖 Linting Wire with this PR took 19.31 s vs 19.29 s on main (0% slower).
📖 Linting WordPress with this PR took 13.03 s vs 13.02 s on main (0% slower).
📖 This PR fixed a violation in Alamofire: /Source/Features/Combine.swift:92:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Alamofire: /Source/Features/Combine.swift:312:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Alamofire: /Source/Features/Combine.swift:461:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Playlist/MPRemoteCommandCenter+Combine.swift:68:5: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Sources/Playlist/MPRemoteCommandCenter+Combine.swift:69:5: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in DuckDuckGo: /iOS/DuckDuckGo/BulkGeneratorView.swift:27:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in DuckDuckGo: /iOS/DuckDuckGo/OnboardingFlow/LinearOnboarding/OnboardingView+SkipOnboardingContent.swift:29:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in DuckDuckGo: /iOS/DuckDuckGo/OnboardingFlow/LinearOnboarding/OnboardingView+RestorePromptDialogContent.swift:28:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in DuckDuckGo: /iOS/DuckDuckGo/OnboardingFlow/LinearOnboarding/Rebranding/RebrandedOnboardingView.swift:163:9: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Firefox: /firefox-ios/Client/Frontend/Settings/HomepageSettings/HomePageSettingViewController.swift:310:13: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PaymentSourceFragment.graphql.swift:44:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PaymentSourceFragment.graphql.swift:101:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:58:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:97:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:136:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:175:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:207:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:239:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:312:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:385:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextItemFragment.graphql.swift:513:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:401:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:437:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:503:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:539:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:541:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:574:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:623:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:671:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOCardFragment.graphql.swift:674:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/CommentWithRepliesFragment.graphql.swift:236:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/CommentWithRepliesFragment.graphql.swift:238:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:350:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:386:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:452:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:488:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:490:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:523:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:572:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/PPOBackingFragment.graphql.swift:620:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/UserFragment.graphql.swift:518:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/ProjectCardFragment.graphql.swift:396:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/ProjectCardFragment.graphql.swift:475:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/ProjectCardFragment.graphql.swift:513:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:295:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:388:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:450:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:922:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:924:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:1065:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:1212:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:1214:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:1217:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/BackingFragment.graphql.swift:1219:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/CreateBackingMutation.graphql.swift:122:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/PostCommentMutation.graphql.swift:156:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/PostCommentMutation.graphql.swift:158:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RewardFragment.graphql.swift:758:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RewardFragment.graphql.swift:760:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/ProjectFragment.graphql.swift:348:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/ProjectFragment.graphql.swift:518:12: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/DeletePaymentSourceMutation.graphql.swift:148:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/CompleteOnSessionCheckoutMutation.graphql.swift:122:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/CreatePaymentSourceMutation.graphql.swift:154:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Mutations/UpdateBackingMutation.graphql.swift:122:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchUpdateCommentsQuery.graphql.swift:95:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchUpdateCommentsQuery.graphql.swift:274:22: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchUpdateCommentsQuery.graphql.swift:276:22: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:482:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:548:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:627:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:630:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:632:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:665:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:668:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/SearchQuery.graphql.swift:670:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/BuildPaymentPlanQuery.graphql.swift:161:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/RichTextExampleProjectsQuery.graphql.swift:151:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:448:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:612:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:615:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:617:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:619:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:665:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:840:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:842:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchProjectByIdQuery.graphql.swift:844:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchCategoryQuery.graphql.swift:83:16: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Operations/Queries/FetchCategoryQuery.graphql.swift:217:20: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:89:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:180:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:227:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:274:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:321:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:363:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:405:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:447:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:457:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:499:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:509:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:551:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:561:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:641:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:732:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:779:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:826:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:873:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:915:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:957:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:999:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1009:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1051:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1061:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1103:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1113:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1193:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1284:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1331:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1378:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1425:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1467:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1509:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1551:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1561:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1603:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1613:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1655:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1665:18: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1745:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1787:14: Warning: Types should be nested at most 1 level deep (nesting)
📖 This PR fixed a violation in Kickstarter: /GraphAPI/Sources/Fragments/RichTextComponentFragment.graphql.swift:1829:14: Warning: Types should be nested at most 1 level deep (nesting)
⚠️ Danger found 488 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 150.

Generated by 🚫 Danger

@SimplyDanny
Copy link
Copy Markdown
Collaborator

Closed #3183. We usually don't change defaults after rules/options have been introduced.

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.

Typealias considered defining a Type with nesting

3 participants