You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a method in my enum just like this:
func isCurrent() -> Bool { ... }
And when called like Environment.dev.isCurrent() I get this lint warning in this line which must be wrong.
Currently you can do this:
I think we should add rule to have people remove
(_)
. Note it can also be(_, _)
.I've added this regex on our codebase with no false positives:
"\([,\s*_]+\)"
The text was updated successfully, but these errors were encountered: