Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anthonykeenan
Copy link

In most cases the threshold parameter is documented as the maximum number of instances possible before the rule triggers, but it's actually the number required to trigger a rule, as all the conditions are of the form >= threshold. Hopefully this will make the documenation clearer.

Copy link
Member

@schalkms schalkms left a comment

Choose a reason for hiding this comment

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

Thanks for improving the documentation! 👍

@schalkms schalkms merged commit 6c1037b into detekt:master Oct 4, 2019
@arturbosch arturbosch added this to the 1.1.0 milestone Oct 4, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Clarify threshold pararameter meaning in docs

* Couple more minor docs fixes

* Regenerate complexity ruleset doc
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Clarify threshold pararameter meaning in docs

* Couple more minor docs fixes

* Regenerate complexity ruleset doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants