Lint to prefer lowerCamelCase for constant names. (Style Guide) #57190
Labels
analyzer-linter
Issues with the analyzer's support for the linter package
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
linter-lint-request
type-enhancement
A request for a change that isn't a bug
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.GOOD:
BAD:
The text was updated successfully, but these errors were encountered: