-
Notifications
You must be signed in to change notification settings - Fork 50
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
Implement missing properties in the configuration closure #171
Comments
Thanks for the note! Wondering about editorconfig as well -- since it's a build script would it make sense to refer to a personal location over an editorconfig in the standard location checked into the project? Certainly could support it if people want to use it vs allowing ktlint to automatically locate editorconfig in the standard places. For debug, would it make sense to pass through gradle's --debug flag when it is on? This would align to the same way you'd debug the kotlinter plugin itself. |
Hey there! Baseline: not yet, but I would if it were available, at least in one project I work on. Editorconfig: would use it mostly for debugging my own editorconfig when the build fails and I can't figure out why :) As for debug: tying it with Gradle's by default sounds reasonable, however I'd most likely want to only debug ktlint runs on their own, and their debug output would risk getting lost in Gradle's very, very verbose debug output, I think |
Ok, makes sense. Will try to put these in queue for next dot release. |
Hi there — once again, I'd need the |
I'll check and let you know :) Thanks for the pointer |
That did the trick, thanks @mateuszkwiecinski 👍 |
THanks @mateuszkwiecinski that fixed a different issue I was seeing |
@chrisjenx I'm happy it helped 😃 Would you mind sharing what your issue was specifically and if it is still reproducible in the latest release |
Updating editorconfig. isnt reflected until you call gradle --stop sometimes |
Right now there is no way to set the
--debug
,--baseline
, and--editorconfig
ktlint flags. it would be great to have that possibility. I'd imagine those being additional properties on thekotlinter
closure:The text was updated successfully, but these errors were encountered: