Skip to content

Conversation

koji-1009
Copy link

close #1518

Added the comments // dart format off and // dart format on to the code generated using defaultFormatOutput.
With this fix, additional formatting will no longer be applied to the generated code even if the project's page_width setting is not 80.

ref dart-lang/build#3812 (comment)
ref dart-lang/build#3887 (comment)

@davidmorgan
Copy link
Collaborator

FWIW I don't think this is something individual generators should do; it should be handled by build_runner.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The page_width option in the analysis_options.yaml is ignored
2 participants