-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
Description
I'm using dartfmt via flutter format, which I run it like this:
flutter format .
This formats all .dart files recursively, which is almost exactly what I want. Unfortunately, it also formats .g.dart files, so my generated files bounce between their generated state and a formatted version thereof.
It would be very useful if dartfmt could exclude files matching certain patterns. Something like:
dartfmt -e *.g.dart -e *.foo.dart .
(surfacing this via flutter format would of course be a separate issue)
olexale, nstrelow, db-dblank, mvarendorff, fzyzcjy and 76 more