Lint for preferring integer literals where double values are expected #34824
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Milestone
Dart 2.1 supports a new language features for using integer literals where double values are expected.
It would be great to have a lint for enforcing this in code bases where integer literals are preferred when possible (e.g., something like
prefer_integer_interals_as_double_values
).The text was updated successfully, but these errors were encountered: