KTlint reporter arguments
See original GitHub issueHi,
I was wondering if it is possible to specify the reporter for ktlint? The userData
map doesn’t seem to send cli args but just editor config args, though I could be misunderstanding.
I have tried a few variations:
kotlin {
ktlint(Versions.KT_LINT)
.userData(mapOf("color" to "", "--reporter" to "checkstyle"))
}
kotlin {
ktlint(Versions.KT_LINT)
.userData(mapOf("color" to "", "reporter" to "checkstyle"))
}
If this is supported I would appreciate a pointer on how to accomplish this. If it is not I would request a feature enhancement for it.
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Ktlint
ktlint aims to capture the official Kotlin coding conventions and Android ... Customizable output Several reporters are available out-of-the-box: plain (+ ...
Read more >Standard rules - Ktlint
Argument list wrapping¶. Rule-id: argument-list-wrapping ... Imports ordered consistently (see Custom ktlint EditorConfig properties for more).
Read more >KtLint configuration
Ktlint uses some properties defined by .editorconfig, IntelliJ IDEA and ... rule set provided by KtLint ktlint_experimental_type-argument-list-spacing ...
Read more >Command line - Ktlint
When no arguments are specified, the style of all Kotlin files (ending with '.kt' or ... ktlint supports different type of reporters for...
Read more >Experimental rules - Ktlint
Spacing before and after the angle brackets of a type argument list. Rule id: experimental:type-argument-list-spacing. Type parameter list spacing¶. Spacing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I never did a plugin dev before but I will try my best to make this PR. Thanks! @nedtwigg
Now that #1012 has merged, it should be easier to build this if anybody wants to contribute a PR.