79487666

Date: 2025-03-05 20:55:30
Score: 1.5
Natty:
Report link

I confirm. If the SDK version in the pubspec.yaml file is set to 3.7.0, then trailing commas are automatically removed. If the SDK version is set to any earlier version, then the previous code formatting is restored.

Here is a link to a nice article about the formatting changes: https://codewithandrea.com/articles/new-formatting-style-dart-3-7/

And here is the link to the official proposal: https://github.com/dart-lang/dart_style/issues/1253

Reasons:
  • Blacklisted phrase (1): here is the link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kamil Krawczyk