chore: Preserve trailing commas (#2789)

Without this setting the formatter will sometimes remove trailing commas, which makes the diff and the code harder to read.
This commit is contained in:
Lukas Klingsbo
2025-10-27 01:21:29 +01:00
committed by GitHub
parent fb4c6e9fe4
commit c8fd944776
+3
View File
@@ -17,6 +17,9 @@ analyzer:
- lib/**.freezed.dart
- submodules/**
formatter:
trailing_commas: preserve
linter:
rules:
use_key_in_widget_constructors: false