Specify dart format width in generated files#827
Specify dart format width in generated files#827turtledev1 wants to merge 1 commit intodart-archive:masterfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
I would rather go the other way and use the configured width for an analysis options file. But it looks like dart_style does not do that automatically with the This would be something like grabbing the entryLib's path with |
|
Closing as the dart-lang/mockito repository is merged into the dart-lang/build monorepo. Please re-open this PR there if you'd like to continue to propose it for merging. |
Fixes dart-lang/build#4597
By specifying the width of the generated files, the dart formatter will use that instead of the configured width, therefore not returning an error in pipelines when the config differs.
Contribution guidelines:
dart format.Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.