Repository navigation
Fix dead reference links in rule docs - #16
Closed
olitreadwell wants to merge 1 commit into
Closed
olitreadwell wants to merge 1 commit into
olitreadwell wants to merge 1 commit into
Conversation
olitreadwell
added a commit
that referenced
this pull request
Oct 4, 2026
olitreadwell
force-pushed
the
fix-dead-reference-links
branch
from
October 4, 2026 16:10
bda1f53 to
46a8c3a
Compare
olitreadwell
force-pushed
the
fix-dead-reference-links
branch
from
October 6, 2026 16:04
46a8c3a to
2e06500
Compare
Owner
Author
|
Consolidating same-kind documentation/typo cleanups for this repo into #19. The still-relevant changes from this PR have been folded into that branch (any hunks already fixed upstream were dropped), so this PR is superseded. Closing to avoid duplicate same-kind PRs — the combined fix stays staged in #19. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
NSNumberInitAsFunctionReferenceRulerationale fromapple/swift/issues/51036toswiftlang/swift/issues/51036.OptionalEnumCaseMatchingRuleexample fromapple/swift/issues/61817toswiftlang/swift/issues/61817.https://ericasadun.com/2016/10/02/quick-style-survey/reference in theAttributesRulerationale with a working Wayback snapshot of the same page.Why
The Swift compiler repository moved from
apple/swifttoswiftlang/swift, so bothapple/swift/issues/...URLs now return 404 while the new URLs resolve to the same issues. The personal-site link used to support theAttributesRulediscussion no longer resolves at all, leaving that rationale without its reference. These are comment/rationale-only edits: no rule logic, configuration, or output changes.How to verify
Check the links directly:
https://github.com/apple/swift/issues/51036-> 404;https://github.com/swiftlang/swift/issues/51036-> 200https://github.com/apple/swift/issues/61817-> 404;https://github.com/swiftlang/swift/issues/61817-> 200https://ericasadun.com/2016/10/02/quick-style-survey/-> connection failure; the Wayback snapshot -> 200Check out the branch and run the project's own checks:
The diff is limited to doc comments and rule rationale, so there is no behavior change and no CHANGELOG entry is required.
PROMOTION NOTE: Fork-staged only; not to be opened upstream until Oli promotes it manually, e.g.
gh pr create --repo realm/SwiftLint --base main --head olitreadwell:fix-dead-reference-links --title "Fix dead reference links in rule docs" --body-file <this body>