Skip to content

Drop dart fix from the pre-commit hook - #40

Merged
burhankhanzada merged 1 commit into
mainfrom
chore/no-dart-fix-on-commit
Oct 4, 2026
Merged

burhankhanzada merged 1 commit into
mainfrom
chore/no-dart-fix-on-commit

Conversation

@burhankhanzada

Copy link
Copy Markdown
Member

What and why

Follow-up to #38. dart fix --apply was most of what was left of a commit: it analyzes the whole project (~9 s, the same for one staged file as for all of them) to apply a handful of automated fixes, and it rewrote files that were not staged.

The lints it fixes still show in the IDE and block at pre-push, and dart fix --apply is one command to run when they come up. A commit of staged Dart is now import sorting and formatting — about a second.

How it was verified

🤖 Generated with Claude Code

It analyzed the whole project to apply a handful of fixes — ~9 s, most
of what was left of a commit after #38 — and rewrote files that were not
staged. The lints it fixes show in the IDE and block at pre-push; run
`dart fix --apply` yourself when they come up. A commit of staged Dart is
now import sorting and formatting, about a second.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@burhankhanzada
burhankhanzada merged commit c5665ce into main Oct 4, 2026
21 checks passed
@burhankhanzada
burhankhanzada deleted the chore/no-dart-fix-on-commit branch October 4, 2026 20:19
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