Skip to content

Resolve SwiftLint file-length exceptions #36

Description

@austin-smith

Goal

Remove the two temporary file_length exceptions introduced with SwiftLint by refactoring the oversized files below the 800-line project limit.

Current files:

  • ComputerSolitaire/Views/Shared/ContentView.swift — approximately 1,523 lines. It currently coordinates board layout, interaction, animation, lifecycle, and persistence.
  • ComputerSolitaire/Views/Cards/Styles/PixelCardViews.swift — approximately 910 lines. It currently contains both the static pixel-art sprite catalog and rendering code.

Desired outcome

Split each file along stable ownership boundaries while preserving behavior and keeping the architecture easy to navigate. Extracted types must live in appropriate feature or domain locations; do not create catch-all support files or place non-view responsibilities in a views folder.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions