You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your suggestion. The library relies on dart_style for all the formatting. I'm surprised that dart_style does not add the trailing comma.
The using dart_style is something mentioned in "Effective Dart". But the same page makes this explicit point:
Note that dartfmt does 99% of this for you, but the last 1% is you. It does not split long string literals to fit in 80 columns, so you have to do that manually.
So I think it is fair to say that this library should fix this, but I won't be able to easily fix this if the dart_style library erases the trailing comma.
Thanks for your tools. Would be nice to always add a trailing comma, which is the standard in Dart.
Example:
Should write (basically adding a , after this.link
instead of:
The text was updated successfully, but these errors were encountered: