Danny Mösch

Results 373 comments of Danny Mösch
trafficstars

This issue has been marked as stale because it has not seen any activity in the last 4 months. It is going to be closed soon if it stays inactive.

Please provide a small code snippet you run SwiftLint on together with the changed code. Also mention the command you are running.

I'm unable to reproduce this. My involved files and commands are as follows: `.swiftlint.yml` ```yml only_rules: - opening_brace ``` `main.swift` ```swift func getIcon() -> UIImage?{ nil } ``` ```bash $...

This issue has been marked as stale because it has not seen any activity in the last 4 months. It is going to be closed soon if it stays inactive.

There seems to be no variable in Xcode that points to the alternative package directory. In this case, the only thing that can be done is to update the README...

Hi @AballahNsour! Your examples are good, but the implementation of the rule is definitely not sufficient. Are you going to continue on this PR?

So if we start with `if` statements only, we expect ```swift func f(value: Bool) -> Int { if value { return 1 } else { return 2 } } ```...

> The solution is to Pull the new remote commits at first, and then to Push the local commits. I think this is exactly what the sync action does -...

This is actually the intended behavior. The assumption is that when you import `Package`, `Package.Group` is automatically visible as well. That this resolves a name conflict isn't known to the...

That's the idea of the rule. It asks you to use the failable initializer to make you think about the error case. Your current code will just fail at runtime...