ci: simplify format test

This commit is contained in:
Tien Do Nam
2025-10-27 02:00:24 +01:00
parent 2c0bfaf1cd
commit 96a37c71b9
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -28,14 +28,14 @@ jobs:
run: rm -rf lib/gen
- name: Check format (app)
working-directory: app
run: dart format --line-length 150 --set-exit-if-changed lib test
run: dart format --set-exit-if-changed lib test
- name: Dependencies (common)
working-directory: common
run: dart pub get
- name: Check format (common)
working-directory: common
run: dart format --line-length 150 --set-exit-if-changed lib test
run: dart format --set-exit-if-changed lib test
test:
runs-on: ubuntu-latest
+4
View File
@@ -1,5 +1,9 @@
include: package:lints/recommended.yaml
formatter:
trailing_commas: preserve
page_width: 150
linter:
rules:
prefer_single_quotes: true