Repository navigation
Fix assorted typos and a stale command in docs and tests - #19
Merged
Merged
Conversation
olitreadwell
added a commit
that referenced
this pull request
Oct 7, 2026
olitreadwell
force-pushed
the
fix-trivial-typos
branch
from
October 7, 2026 15:53
32cad68 to
639859c
Compare
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
Responsible,Threshold,Access,Excluded,Explicit, andCachePathin rule examples, tests, and the SwiftLint command plugin.autocorrectsubcommand from theswiftlint helpoutput listed in README_CN.md and README_KR.md. That subcommand no longer exists; it was replaced byswiftlint --fix.Why
Self-found gap, found by a repo-wide spelling and stale-command sweep.
swiftlint autocorrectwas removed in favor ofswiftlint --fix, and the identifiers below are unambiguous typos:Source/SwiftLintBuiltInRules/Rules/Lint/RequiredEnumCaseRule.swiftandTests/FrameworkTests/RulesTests.swift:NetworkResponsabletoNetworkResponsible(example protocol plus its configuration key).Source/SwiftLintBuiltInRules/Rules/Performance/ReduceIntoRule.swift:memberAccesExprtomemberAccessExpr.Source/SwiftLintFramework/Configuration/Configuration+Merging.swift:mergedWarningTresholdtomergedWarningThreshold, and its two local variables.Tests/CoreTests/RegexConfigurationTests.swift:shouldValidateWithSingleExludedandshouldValidateWithArrayExludedto...Excluded.Tests/MacroTests/SwiftSyntaxRuleTests.swift:correctableWithoutExplcitRewritertocorrectableWithoutExplicitRewriter.Plugins/SwiftLintCommandPlugin/SwiftLintCommandPlugin.swift:commandsWithoutCachPathOptiontocommandsWithoutCachePathOption.Every rename is applied at all call sites, so there is no behavior change and no change to any example's expected violations.
How to verify
git fetch https://github.com/olitreadwell/SwiftLint.git fix-trivial-typos git checkout FETCH_HEAD swift test swift run swiftlint lint --strictPROMOTION NOTE (remove this section before/when opening against upstream):