Skip to content

Dart format#123

Merged
446564 merged 6 commits into
mainfrom
dart-format
Feb 4, 2026
Merged

Dart format#123
446564 merged 6 commits into
mainfrom
dart-format

Conversation

@446564

@446564 446564 commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

This formats the project and adds a workflow to check that each contribution has also been formatted.

plus small fix to get rid of analyzer errors which could be changed to warnings but that's another day.

formats all dart files using `dart format .` from the root project dir

this makes the code style repeatable by new contributors and makes PR review easier
checks code has been formatted with dart format on push and pull request

adds a note in README for contributors
fixes two analyzer errors for return blocks on new lines from if blocks
needs to use flutter pub get not dart pub get
reduce time to complete and stop running twice for pull requests
no need to setup the env twice the exact same way as they don't conflict
@446564 446564 merged commit 589707a into main Feb 4, 2026
11 checks passed
@446564 446564 deleted the dart-format branch February 4, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant