Skip to content

Generated mocks do not use our formatter options #816

Open
@turtledev1

Description

@turtledev1

In our analysis_options.yaml we have custom configs

formatter:
  page_width: 120
  trailing_commas: preserve

And the generated mockito mocks are not using it, making it so we have to manually format every mock we generate for our CI/CD pipeline to pass.

If I remove these configs, it passes as it uses the default format. I think mockito should use our analysis_options to do the formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions