[Rule Proposition] avoid_unassigned_late_fields #4
Closed
TesteurManiak
started this conversation in
Ideas
Replies: 4 comments 1 reply
-
You can check a first try here: https://github.com/Floating-Dartists/fd_lints/blob/feat/avoid-unassigned-late-fields/lib/src/lints/avoid_unassigned_late_fields.dart |
Beta Was this translation helpful? Give feedback.
0 replies
-
Great one, I can't review your custom lint code because I have no idea of how it works |
Beta Was this translation helpful? Give feedback.
1 reply
-
Added in #6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@Pierre-Monier @MeixDev what do you think of this rule?
AVOID late fields that are unassigned inside their own class's constructor or method.
BAD:
GOOD:
GOOD:
GOOD:
Beta Was this translation helpful? Give feedback.
All reactions