-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AnnotationRule fixes/enhancements (#624)
* AnnotationRule fixes/enhancements * Fixing autoCorrect loging to ensure we're doing no work unless there is a lint violation * Restructuring code slightly to allow ktlint to do a more standard node traversal * Adding support for file annotations * fix unused imports * fix tests
- Loading branch information
Showing
3 changed files
with
65 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
interface FooService { | ||
|
||
fun foo1( | ||
@Path("fooId") fooId: String, | ||
@Path("bar") bar: String, | ||
@Body body: Foo | ||
): Completable | ||
|
||
fun foo2(@Query("include") include: String? = null, @QueryMap fields: Map<String, String> = emptyMap()): Single | ||
|
||
fun foo3(@Path("fooId") fooId: String): Completable | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters