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

Object name checker #10

Closed
fatlazycat opened this issue Apr 3, 2012 · 3 comments
Closed

Object name checker #10

fatlazycat opened this issue Apr 3, 2012 · 3 comments

Comments

@fatlazycat
Copy link
Contributor

does not handle package.scala i.e. checker expects uppercase P

@matthewfarwell
Copy link
Member

Do you mean that the following fails:

package foobar

package object foobar {
}

Whereas it should pass?

@fatlazycat
Copy link
Contributor Author

Sorry, yes. Is at work so would double check there. But in your example I believe the f in foobar wouldn't pass it

val DefaultRegex = "[A-Z][A-Za-z]*"

@matthewfarwell
Copy link
Member

This is fixed by 88b45ae, although the commit message lies and says it fixes #11.

sherfert pushed a commit to sherfert/scalastyle that referenced this issue Feb 11, 2020
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

No branches or pull requests

2 participants