-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integrate with a Kotlin linter #4
Comments
I can take over this issue :) |
@doriancodes Awesome, this has now been assigned to you. |
@doriancodes just a heads up that recent similar work has been completed/accepted here: u-ways/kotlin-quarkus-realworld-example-app#8 |
I have some questions:
|
update: I just saw https://github.com/u-ways/kotlin-quarkus-realworld-example-app/pull/8/files and answers most of my questions :) |
@doriancodes glad to read it helped.
|
I found out this solution proposed https://pinterest.github.io/ktlint/rules/configuration-intellij-idea/ . It seems that there is a gradle task from the plugin to generate this configuration locally called |
Awesome, yeah I have used this task before, and I recall there is a similar task that you can apply IDE-level too. I would suggest mentioning this in the Since I am working on improving the documentation, I will add this in my todo list since you already submitted a PR, and it looks great. |
@doriancodes If you're interested in contributing more, you can have a look at other hacktoberfest tickets in the following repositories please: Thanks again for your help :) |
It would be nice to have a linter to keep the project as consistent as possible. A widely popular Kotlin linter is Pinterest's ktlint. It has a built-in rule sets, formatter tasks, reporters, and allows extension with custom rule sets and reporters.
Requirements
.editorconfig
to allow IDE users adhere to the standards for a smoother dev experience.Please see the user guide for further details.
The text was updated successfully, but these errors were encountered: