Skip to content

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

Merged
Eimen2018 merged 3 commits into
Stacked-Org:mainfrom
codermuss:fix/format-source-dirs-only
Sep 1, 2026
Merged

fix: format only source directories, skip build/#72
Eimen2018 merged 3 commits into
Stacked-Org:mainfrom
codermuss:fix/format-source-dirs-only

Conversation

@codermuss

Copy link
Copy Markdown
Contributor

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>
@Eimen2018
Eimen2018 merged commit 0cf3e0f into Stacked-Org:main Sep 1, 2026
1 check passed
FilledStacks pushed a commit that referenced this pull request Sep 1, 2026
## [1.15.7](v1.15.6...v1.15.7) (2026-09-01)

### Bug Fixes

* format only source directories, skip build/ ([#72](#72)) ([0cf3e0f](0cf3e0f))
@FilledStacks

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.15.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

3 participants