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

use lowerCamelCase for flavor names #131

Closed
subzero911 opened this issue Oct 17, 2022 · 0 comments
Closed

use lowerCamelCase for flavor names #131

subzero911 opened this issue Oct 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@subzero911
Copy link

subzero911 commented Oct 17, 2022

Currently, flavorizr generates flavors in screaming caps:

enum Flavor {
  DEV,
  PROD,
}

While recommended names for constants are in lowerCamelCase:

enum Flavor {
  dev,
  prod,
}

Lint rule: https://dart-lang.github.io/linter/lints/constant_identifier_names.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants