-
Notifications
You must be signed in to change notification settings - Fork 172
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
constant_identifier_names needs a class/enum-level override #204
Labels
customer-flutter
P3
A lower priority bug or feature request
set-recommended
Affects a rule in the recommended Dart rule set
type-enhancement
A request for a change that isn't a bug
Comments
3 tasks
We have this lint commented out, with a pointer to this bug. |
Ah, k. Thanks for the update! |
|
@zoechi Not really, because often these are just a bunch of values on an enum in a file full of other stuff. |
i think having an enum-level or class-level ignore for this would probably be sufficient for most cases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
customer-flutter
P3
A lower priority bug or feature request
set-recommended
Affects a rule in the recommended Dart rule set
type-enhancement
A request for a change that isn't a bug
These names come from other systems or conventions and so we really don't want to camelCase them, but marking every single one of them is a non-starter. For example:
(from https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/icons.dart)
Another example:
(From https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/build_configuration.dart)
The text was updated successfully, but these errors were encountered: