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
I'm trying to use the --stdin flag but ktlint doesn't seem to be getting anything from standard in.
--stdin
Here is a transcript of my terminal session:
francis::aether:ktlint.git [master %=] cat test.kt import java.io.File fun main(args: Array<String>) { } francis::aether:ktlint.git [master %=] ktlint --stdin --debug < test.kt [DEBUG] Discovered ruleset "standard" [DEBUG] Checking <text> [DEBUG] 367ms / 0file(s) / 0error(s)
francis::aether:ktlint.git [master %=] ktlint --stdin --debug [DEBUG] Discovered ruleset "standard" import java.io.File fun main(args: Array<String>) { } [DEBUG] Checking <text> [DEBUG] 11032ms / 0file(s) / 0error(s)
I was expecting an unused import error but as you can see above, no error is produced.
The text was updated successfully, but these errors were encountered:
Fixed broken --stdin (#51)
16fb424
Thank you for the ticket. Fixed in 0.8.1.
Sorry, something went wrong.
No branches or pull requests
I'm trying to use the
--stdin
flag but ktlint doesn't seem to be getting anything from standard in.Here is a transcript of my terminal session:
I was expecting an unused import error but as you can see above, no error is produced.
The text was updated successfully, but these errors were encountered: