-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
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
Unable to specify any reporter if ktlint version is bigger than "0.9.x" #28
Comments
@Tapchicoma you want to take a crack at this one? Can you add some simple Junit tests that cover this too for us? |
@JLLeitschuh yeah, I will take a look. In version |
@Tapchicoma Hijacking this issue for a second, come chat with me either in the gitter chat or find me in the Kotlin Slack (slack is better for me). |
Quick and dirty fix:
|
We may want to consider doing our parsing with this library: |
@leinardi little improve your fix, but solution is right. |
There seems to be a bug that prevents you from using a custom reporter when ktlint version is bigger than "0.9.x", eg. "0.10.1".
This is due to comparing strings instead of integers:
To reproduce the issue you can use this configuration:
The output is:
The text was updated successfully, but these errors were encountered: