dart-code-metrics
dart-code-metrics copied to clipboard
[FEATURE REQEST] Auto-Fix for the member-ordering-extended and member-ordering rules
Could be nice to have Auto-Fix for the member-ordering-extended specially for the alphabetize option.
Could be nice to keep in mind possible flutter_member_ordering options: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#order-other-class-members-in-a-way-that-makes-sense
I would say it be nice to have auto-fix for all rules if it is possible.
@dened I mean specially for the member-ordering-extended as this rule leads to huge manual work for the existing projects.
@zs-dima could you clarify, what do you mean by Could be nice to keep in mind possible flutter_member_ordering options:?
@incendial thanks for looking into
I mean could be nice to be able to setup ordering to follow flutter_member_ordering suggestions.
I mean could be nice to be able to setup ordering to follow flutter_member_ordering suggestions.
Ah, that's a great idea, but I think we'll be able to make it a default order only in the next major release.
Fixes are not planned as a part of current tool state, but the flutter widgets order is supported separately