Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule Request: Add Class Prefix Rule #5714

Open
1 task
inotetw opened this issue Jul 30, 2024 · 0 comments
Open
1 task

Rule Request: Add Class Prefix Rule #5714

inotetw opened this issue Jul 30, 2024 · 0 comments
Labels
rule-request Requests for a new rules.

Comments

@inotetw
Copy link

inotetw commented Jul 30, 2024

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.

@inotetw inotetw changed the title Add Class Prefix Rule Rule Request: Add Class Prefix Rule Jul 30, 2024
@SimplyDanny SimplyDanny added the rule-request Requests for a new rules. label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule-request Requests for a new rules.
Projects
None yet
Development

No branches or pull requests

2 participants