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
The following snippet is interpreted as a violation of the empty_enum_arguments rule:
empty_enum_arguments
switch (email, password) { case (_, _) where !email.value.isBlank && !password.value.isBlank: return .valid(email: .idle, password: .idle) default: break }
I was expecting a violation of a different rule, or rather that no rules were violated at all.
The text was updated successfully, but these errors were encountered:
Fix false positive in empty_enum_arguments rule when using wildcard…
189e055
…s and `where` clauses Fixes #1722
where
No branches or pull requests
The following snippet is interpreted as a violation of the
empty_enum_arguments
rule:I was expecting a violation of a different rule, or rather that no rules were violated at all.
The text was updated successfully, but these errors were encountered: