Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Update docs for ktlint integration #124

Merged
merged 4 commits into from Aug 14, 2018

Conversation

tasomaniac
Copy link
Contributor

No description provided.

Copy link
Contributor

@rock3r rock3r left a 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

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
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@rock3r rock3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 👍

@rock3r rock3r merged commit 684d939 into novoda:develop Aug 14, 2018
@tasomaniac tasomaniac deleted the taso/update-docs branch October 2, 2018 10:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants