Skip to content

format generated code using editorconfig settings  #175

@joprice

Description

@joprice

The generated code does not respect the fantomas settings in .editorconfig. The files could be added to .fantomasignore based on some pattern, but it could be convenient if the style was uniform and no convention or tracking of generated code is required.

This is due to using the default settings here https://github.com/MoiraeSoftware/myriad/blob/3c9818faabf9d508c10c28d5ecd26e66fafb48a1/src/Myriad/Program.fs#L191

which could be instead loaded using a helper on the EditorConfig module: https://github.com/fsprojects/fantomas/blob/e2aa020de71eaf020f14fc402c9ff03f57006ac5/src/Fantomas/Format.fs#L30

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions