-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: explicit rawValue for camelCased Codable String enum #2888
Labels
rule-request
Requests for a new rules.
Comments
fddecc
added a commit
to fddecc/SwiftLint
that referenced
this issue
Oct 2, 2019
fddecc
added a commit
to fddecc/SwiftLint
that referenced
this issue
Oct 2, 2019
marcelofabri
pushed a commit
to fddecc/SwiftLint
that referenced
this issue
Oct 21, 2019
marcelofabri
pushed a commit
to fddecc/SwiftLint
that referenced
this issue
Oct 21, 2019
marcelofabri
added a commit
that referenced
this issue
Oct 21, 2019
Add `raw_value_for_camel_cased_codable_enum` (#2888)
Closed in #2889 💯 |
lechuckcaptain
pushed a commit
to lechuckcaptain/SwiftLint
that referenced
this issue
Oct 25, 2019
lechuckcaptain
pushed a commit
to lechuckcaptain/SwiftLint
that referenced
this issue
Oct 25, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Issue Checklist
New rule request
Please describe the rule idea, format
this issue's title as
Rule Request: [Rule Name]
and describe:the community thinks about this.
We use
JSONDecoder.KeyDecodingStrategy.convertFromSnakeCase
in our project. Our enums are mostly snake case on the backend too. Because of that, some people in our team had mistakenly assumed that these enum cases would also be converted from snake case (which is not true).Just the severity.
See README.md for guidelines on when to mark a rule as opt-in.
Opt-in, as this would only add noise in some projects
The text was updated successfully, but these errors were encountered: