Skip to content
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

Fix report for documented data classes property #2530

Merged
merged 2 commits into from
Mar 28, 2020
Merged

Fix report for documented data classes property #2530

merged 2 commits into from
Mar 28, 2020

Conversation

schalkms
Copy link
Member

A documented property should not be reported as undocumented by the UndocumentedPublicProperty rule.

This closes #2529

A documented property should not be reported as undocumented by the UndocumentedPublicProperty rule.

This closes #2529
* @property a int1
* [b] int2
* @property [c] int3
* @param d int4
Copy link
Member

Choose a reason for hiding this comment

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

If dis just documented as parameter... we should flag it, right? I mean, we want to document the properties.

And probably it would be better to split this test in 4.

Copy link
Member Author

@schalkms schalkms Mar 27, 2020

Choose a reason for hiding this comment

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

As always, thanks for the review. Please see my comment regarding @param in the referenced issue.
#2529 (comment)

Splitting the test case up makes sense.

@arturbosch arturbosch merged commit 267cf1a into detekt:master Mar 28, 2020
@arturbosch arturbosch added this to the 1.7.2 milestone Mar 28, 2020
@schalkms schalkms deleted the fix-#2529-UndocumentedPublicProperty branch March 28, 2020 10:21
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.

UndocumentedPublicProperty reported for documented data classes property
3 participants