-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
Detect undocumented protected classes, properties, and functions #5083
Conversation
refs detekt#4633 Signed-off-by: Kengo TODA <skypencil@gmail.com>
refs detekt#4633 Signed-off-by: Kengo TODA <skypencil@gmail.com>
Signed-off-by: Kengo TODA <skypencil@gmail.com>
Signed-off-by: Kengo TODA <skypencil@gmail.com>
Signed-off-by: Kengo TODA <skypencil@gmail.com>
detekt#5083 (comment) Signed-off-by: Kengo TODA <skypencil@gmail.com>
Signed-off-by: Kengo TODA <skypencil@gmail.com>
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.
Thanks for the PR, it looks grear. I just have some concerns with the binary compatibility that should be easily fixable.
Signed-off-by: Kengo TODA <skypencil@gmail.com>
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.
Thanks for this nice PR! 👍
...n/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicClass.kt
Outdated
Show resolved
Hide resolved
...rc/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicFunction.kt
Outdated
Show resolved
Hide resolved
...rc/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicProperty.kt
Outdated
Show resolved
Hide resolved
…urbosch/detekt/rules/documentation/UndocumentedPublicClass.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
…urbosch/detekt/rules/documentation/UndocumentedPublicFunction.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
…urbosch/detekt/rules/documentation/UndocumentedPublicProperty.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
Thank you! |
…ekt#5083) * feat: UndocumentedPublicFunction supports protected functions refs detekt#4633 * feat: UndocumentedPublicProperty supports protected properties refs detekt#4633 Signed-off-by: Kengo TODA <skypencil@gmail.com> * feat: UndocumentedPublicClass supports protected classes refs detekt#4633 Signed-off-by: Kengo TODA <skypencil@gmail.com> * chore: apply detekt rules Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: update the document Signed-off-by: Kengo TODA <skypencil@gmail.com> * fix: update the API file to pass pre-merge checks Signed-off-by: Kengo TODA <skypencil@gmail.com> * fix: rename a config based on the review comment detekt#5083 (comment) Signed-off-by: Kengo TODA <skypencil@gmail.com> * test: make test snippets compilable Signed-off-by: Kengo TODA <skypencil@gmail.com> * fix: broken binary compatibility Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: Update detekt-rules-documentation/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicClass.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com> * docs: Update detekt-rules-documentation/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicFunction.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com> * docs: Update detekt-rules-documentation/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicProperty.kt Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com> Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
Hello 👋 thanks for making such a great product open and shared!
My team is using Detekt and I want to learn more about, so today I want to suggest a PR that can close #4633
I simply follow the discussion in #4633, so added a configuration to each existing rule.
Honestly speaking, I have less confidence in the naming of configurations, hope that we will have a discussion about it in this PR.