equatable_lint_x 0.2.2
equatable_lint_x: ^0.2.2 copied to clipboard
This is a set of rules to make classes using Equatable more maintainable. We make sure here that every fields in an Equatable class is linked to the Equatable props getter.
0.2.2 #
- Assists :
- Add assist to help you extends Equatable when your class is not already doing it
- Lints :
- add urls linking to lints details
0.2.1+1 #
- Fix bug showing
always_call_super_props_when_overriding_equatable_propson class extending another non equatable class with props field
0.2.1 #
-
Fork from equatable_lint
-
Available lints :
- Lint when a field is missing in equatable props => "missing_field_in_equatable_props"
- Lint when a class extending an Equatable class does not call super when overriding equatable props => "always_call_super_props_when_overriding_equatable_props"
-
Available fixes for the lints :
- "missing_field_in_equatable_props" :
- A quick fix to add every fields to the equatable props
- A quick fix to create the equatable props with every fields in it
- A quick fix to add a specific field to the equatable props
- A quick fix to create the equatable props with a specific in it
- "always_call_super_props_when_overriding_equatable_props" :
- A quick fix to call super in overridden equatable props
- "missing_field_in_equatable_props" :