unrelated_type_equality_checks
does not lint enums
#59004
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-set-core
Describe the issue
The
unrelated_type_equality_checks
lint does not lint comparing unrelated enums.To Reproduce
With
analysis_options.yaml
And
main.dart
Expected behavior
Comparing enums of unrelated types should be linted by the
unrelated_type_equality_checks
lint.Additional context
The text was updated successfully, but these errors were encountered: