We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I totally forgot about enums when implementing SwitchCaseOnNewlineRule.
It seems that only enums with associated values are triggering this rule:
// doesn't trigger enum Enviromnent { case development case production } // triggers enum Environment { case development(url: URL) case production(url: URL) }
The text was updated successfully, but these errors were encountered:
switch_case_on_newline
Fixed in #877.
Sorry, something went wrong.
Merge commit 'e65437cd7a7a1e97f68ddb62d572952d74fa3876' into swift3.0
63a2b20
* commit 'e65437cd7a7a1e97f68ddb62d572952d74fa3876': Fixing #878 `switch_case_on_newline` should ignore trailing comments # Conflicts: # Source/SwiftLintFramework/Rules/SwitchCaseOnNewlineRule.swift
No branches or pull requests
I totally forgot about enums when implementing SwitchCaseOnNewlineRule.
It seems that only enums with associated values are triggering this rule:
The text was updated successfully, but these errors were encountered: