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

PREFER using lowerCamelCase for constant names #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rustkas
Copy link

@rustkas rustkas commented Nov 7, 2020

Effective Dart: Style
Linter rule

In new code, use lowerCamelCase for constant variables, including enum values.

In existing code that uses ALL_CAPS_WITH_UNDERSCORES for constants, you may continue to use all caps to stay consistent.

Anatolii added 2 commits November 7, 2020 10:06
[Effective Dart: Style](https://dart.dev/guides/language/effective-dart/style#prefer-using-lowercamelcase-for-constant-names)
[Linter rule](https://dart-lang.github.io/linter/lints/constant_identifier_names.html)

In new code, use lowerCamelCase for constant variables, including enum values.

In existing code that uses ALL_CAPS_WITH_UNDERSCORES for constants, you may continue to use all caps to stay consistent.
…nstant-names-1

PREFER using lowerCamelCase for constant names
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.

1 participant