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
Duplicate issue from here
Could you please add field excludedAnnotations: to AnnotationOnSeparateLine rule?
excludedAnnotations:
AnnotationOnSeparateLine
example: excludedAnnotations: 'retrofit2.http.Query,retrofit2.http.Body' So, this annotation won't be forced to move on separate line:
excludedAnnotations: 'retrofit2.http.Query,retrofit2.http.Body'
@GET("/foo") fun bar( @Query("id") id: String ): Single<MyResponse>
The text was updated successfully, but these errors were encountered:
For you solution would be to disable "experimental:annotation" rule.
If still want to to have this rule active, but exclude some annotations from it, you could copy the code of this rule and create your custom one.
Sorry, something went wrong.
In next release "experimental:annotation" rule will allow to have annotation on the same line.
No branches or pull requests
Duplicate issue from here
Could you please add field
excludedAnnotations:
toAnnotationOnSeparateLine
rule?Expected Behavior of the rule
example:
excludedAnnotations: 'retrofit2.http.Query,retrofit2.http.Body'
So, this annotation won't be forced to move on separate line:
The text was updated successfully, but these errors were encountered: