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

EnumNaming should also allow digits #716

Closed
vanniktech opened this issue Feb 2, 2018 · 4 comments · Fixed by #717
Closed

EnumNaming should also allow digits #716

vanniktech opened this issue Feb 2, 2018 · 4 comments · Fixed by #717
Labels
Milestone

Comments

@vanniktech
Copy link
Contributor

This mirrors the Kotlin inspection from IntelliJ and is then also in sync with class names.

@schalkms
Copy link
Member

schalkms commented Feb 2, 2018

EnumNaming should allow enum entries with digits.
Could you please provide more details?

@vanniktech
Copy link
Contributor Author

I'm getting it for instance with WIFI_LEVEL_1. I think I know what the problem is. I'm using failFast: true and hence I'm getting the default parameters. There's a typo in the documentation but in the code it does accept 0-9.

@schalkms
Copy link
Member

schalkms commented Feb 2, 2018

That's true. This seems like a copy & paste error in the KDoc. Thanks for digging into the problem!

@lock
Copy link

lock bot commented Jun 20, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants