Skip to content

fix: format only source directories, skip build/#72

Open
codermuss wants to merge 1 commit into
Stacked-Org:mainfrom
codermuss:fix/format-source-dirs-only
Open

fix: format only source directories, skip build/#72
codermuss wants to merge 1 commit into
Stacked-Org:mainfrom
codermuss:fix/format-source-dirs-only

Conversation

@codermuss

Copy link
Copy Markdown

Summary

  • Changes dart format . to format only existing source directories (lib, test, integration_test, bin)
  • Prevents formatting third-party sources under build/ios/SourcePackages introduced by Flutter 3.44 SPM

Fixes Stacked-Org/stacked#1189

Refs: dart-lang/dart_style#1840

Test plan

  • dart test passes in stacked_cli
  • stacked generate runs dart format lib test bin -l 80 instead of dart format .
  • stacked generate on Flutter 3.44 + Firebase project only formats project source files

Change dart format . to format existing lib, test, integration_test,
and bin directories so Flutter 3.44 SPM checkouts under build/ are not
formatted.

Fixes Stacked-Org/stacked#1189

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

[bug]: stacked generate formats files under build/ios/SourcePackages with Flutter 3.44 SPM

1 participant