-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
MatchingDeclarationName rule to match single declaration to file name #664
Comments
I want this rule too :D. Selfassigned. |
arturbosch
added a commit
that referenced
this issue
Jan 9, 2018
arturbosch
added a commit
that referenced
this issue
Jan 9, 2018
arturbosch
added a commit
that referenced
this issue
Jan 10, 2018
arturbosch
added a commit
that referenced
this issue
Jan 10, 2018
arturbosch
added a commit
that referenced
this issue
Jan 11, 2018
arturbosch
added a commit
that referenced
this issue
Jan 11, 2018
arturbosch
added a commit
that referenced
this issue
Jan 11, 2018
arturbosch
added a commit
that referenced
this issue
Jan 11, 2018
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If the file is named
Foo.kt
and there's only one declaration (object, class, enum or interface) this file name should match the declaration name.Positive case:
Something.kt
object Something
Negative case:
Something.kt
object Somethin
Also I'd expect this check to work when there are top level variables declared:
Something.kt
What do you think?
The text was updated successfully, but these errors were encountered: