SwiftLint
SwiftLint copied to clipboard
Rule Request: Add Class Prefix Rule
New Issue Checklist
- [ ] Updated SwiftLint to the latest version 0.55.1
New rule request
Since XCode has a class prefix setting option, I want a rule to check if public or internal class, enum, struct, and protocol have the prefix. However, it should be configurable to not require for inner class, inner enum, and inner struct to have the prefix. For example, if the prefix is CTA, the name of the first-level class must start with CTA, like CTADataModel.