-
Notifications
You must be signed in to change notification settings - Fork 758
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
Detekt: fix end period #6064
Detekt: fix end period #6064
Conversation
Will require matrix-org/matrix-analytics-events#63 for long term solution
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.
LGTM 👍 (Didn't check every file...)
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've checked every file and I feel like I need a pair of new eyes now :) There is one place, where I think dot might be missing and small NIT (not important thing) which I think doesn't deserve to make a commit just for it
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/util/UrlUtils.kt
Outdated
Show resolved
Hide resolved
* { | ||
* "jitsi" : { | ||
* "jitsi.domain.org" : true, | ||
* "jitsi.other.org" : false | ||
* } | ||
* } | ||
* </pre> |
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.
Missing dot here? Or it's not required when sentence starts and ends with the same tag
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 this is OK for detekt since the first sentence Map of native widgetType to a map of domain to Allowed.
ends with a period.
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 just thought that every sentence in doc have to end with dot, since you actually do so in other places, with many sentences, like here:
It doesn't matter much, if it's ok for detekt, just curious
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.
LGTM
Matrix SDKIntegration Tests Results:
|
Type of change
Content
Add missing period in Kdoc. Enable rule
EndOfSentenceFormat
Will require matrix-org/matrix-analytics-events#63
Motivation and context
Improve code quality and generated documentation quality
Reviewers
Sorry for the big PR. There is no code change hopefully. Maybe using https://patch-diff.githubusercontent.com/raw/vector-im/element-android/pull/6064.diff can help. Maybe not.