swiftlang / swiftlang/swift-format
`FormatPlugin` and `LintPlugin` are not `BuildToolPlugin`.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3k
- Forks
- 290
- Avg merge
- 16h 31m
- Merged PRs (30d)
- 12
Description
Most formatting and linting tasks happen at build time and Xcode has support for build time plugins if they conform to BuildToolPlugin. Therefore, maybe we should consider making FormatPlugin and LintPlugin BuildToolPlugin? This will make it easier to integrate swift-format for people who use Xcode.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the FormatPlugin and LintPlugin definitions and the requirements for Xcode BuildToolPlugin integration. Determine whether both plugins can adopt BuildToolPlugin while preserving their current behavior, and identify the tests or integration checks needed to confirm Swift-format works for Xcode users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100