mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
ci: simplify format test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
include: package:lints/recommended.yaml
|
||||
|
||||
formatter:
|
||||
trailing_commas: preserve
|
||||
page_width: 150
|
||||
|
||||
linter:
|
||||
rules:
|
||||
prefer_single_quotes: true
|
||||
|
||||
Reference in New Issue
Block a user