Skip to content

Commit c66ef7b

Browse files
committed
chore: Fix localizations formatting
1 parent 5263fec commit c66ef7b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
run: |
2929
flutter pub get
3030
31+
# https://github.com/flutter/flutter/issues/167982
32+
# https://github.com/flutter/flutter/pull/167029
33+
- name: Fix localizations formatting
34+
run: dart format lib/localization/ -l 90
35+
3136
- name: Verify formatting
3237
run: dart format -o none --set-exit-if-changed --line-length=90 .
3338

l10n.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ arb-dir: lib/localization
33
template-arb-file: app_en.arb
44
output-localization-file: app_localizations.dart
55
preferred-supported-locales: [en]
6+
# Fix localizations formatting
7+
# https://github.com/flutter/flutter/issues/167982
8+
# https://github.com/flutter/flutter/pull/167029
9+
format: true

0 commit comments

Comments
 (0)