tooling(style): add .editorconfig and change formatter settings

editorconfig contains entries for yml and dart now
the formatter will no longer collapse multiline code splits (like class
constructors), where the last entry has a trailing comma
This commit is contained in:
fbachus
2026-06-06 01:22:36 +02:00
parent aa47b9d85f
commit e88c17ce51
2 changed files with 23 additions and 1 deletions
+6 -1
View File
@@ -24,5 +24,10 @@ linter:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
formatter:
# collapseable entries, e.g. classes, don't get put into a single line if
# there is a trailing comma behind the last entry
trailing_commas: preserve
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
# https://dart.dev/guides/language/analysis-options