Skip to content

PREFER using lowerCamelCase for constant names#1

Open
rustkas wants to merge 1 commit intomasterfrom
PREFER-using-lowerCamelCase-for-constant-names
Open

PREFER using lowerCamelCase for constant names#1
rustkas wants to merge 1 commit intomasterfrom
PREFER-using-lowerCamelCase-for-constant-names

Conversation

@rustkas
Copy link
Copy Markdown
Owner

@rustkas rustkas commented Nov 7, 2020

PREFER using lowerCamelCase for constant names.

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.

https://dart.dev/guides/language/effective-dart/style#prefer-using-lowercamelcase-for-constant-names
https://dart-lang.github.io/linter/lints/constant_identifier_names.html

PREFER using lowerCamelCase for constant names.

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.
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