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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Some native frameworks have really long delegate methods. For example:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool { func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView
And breaking the lines by parameters makes the declaration ugly. Especially when a body is less a declaration
It'd be useful to have a rule which warns about a too long line of code but excludes lines with functions declarations. What do you think?
The text was updated successfully, but these errors were encountered:
Maybe this should be a configuration of line_length rule? See #598 for another proposed configuration.
line_length
Sorry, something went wrong.
Looks like a possible solution
I took a pass at his and just submitted a pull request: #1264
Fixed by @mlwelles in #1264! 🎉
No branches or pull requests
Some native frameworks have really long delegate methods. For example:
And breaking the lines by parameters makes the declaration ugly. Especially when a body is less a declaration
It'd be useful to have a rule which warns about a too long line of code but excludes lines with functions declarations. What do you think?
The text was updated successfully, but these errors were encountered: