SwiftLint.
Enforce Swift conventions in each target
Share a rule configuration across app, library and test code. Surface file-level diagnostics in CI and justify any inline rule disablement.
Swift
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe force_cast rule identifies forced as! conversions; upstream provides both triggering and non-triggering examples.
Measurement
VerifiedSwiftLint checks the selected rules and supports multiple reporting formats for the resulting violations.
Conformance
VerifiedThe published force_cast rule example set labels both triggering Swift input and examples expected to pass; it exercises this specific SwiftLint convention.
CI enforcement
VerifiedThe documented strict option makes warnings fatal. Xcode users can run the linter in a build phase.
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
VerifiedCodeRabbit checks changed .swift files with SwiftLint and supports selecting a repository-specific configuration.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
swiftlint lint
Agent prompt
Use SwiftLint in this repository to meet this standard: Enforce Swift conventions in each target. Share a rule configuration across app, library and test code. Surface file-level diagnostics in CI and justify any inline rule disablement. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.