myriad
myriad copied to clipboard
format generated code using editorconfig settings
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
I dont use Fantomas, happy to accept PR though.