-
Notifications
You must be signed in to change notification settings - Fork 27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment then good to go
docs/tools/ktlint.md
Outdated
For other configuration options and adding custom rules, refer to the | ||
[official guide](https://github.com/JLLeitschuh/ktlint-gradle/#configuration). | ||
|
||
**Note:** Please make sure __note__ to set `ignoreFailures = false` since failures and threshold detection is handled by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that __note__
in the middle is a leftover of something else, and to double check: I would expect ignoreFailures
to be set to true
because we don't want ktlint to break the build itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update. We already automatically set it to true. Here I was trying to say that they shouldn't set it to false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, note
should be not
here.
But I will reword this. It is too many negates. Also because of ignoreFailures
. ktlint
could've chosen a positive prop here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 👍
No description provided.