This change allows to pass a list of includes to the elm-format configuration and is an addition after #163.
I want to add this configuration option because in a project I generate a lot of Elm code from another tool. Those generated files are not checked in into source control and don't fully follow the elm-format code formatting.
With this change, I can pass include rules that allow me to only format the files that are actually part of the repository and ignore the generated files.
Thank you for your time and for creating this tool.
I'm not sure if the desired approach is to immediately create a PR, or first discuss why I would like to add this change.
I copied the code from the biome configuration and adapted it.
This change allows to pass a list of
includes
to theelm-format
configuration and is an addition after #163.I want to add this configuration option because in a project I generate a lot of Elm code from another tool. Those generated files are not checked in into source control and don't fully follow the
elm-format
code formatting.With this change, I can pass include rules that allow me to only format the files that are actually part of the repository and ignore the generated files.
Thank you for your time and for creating this tool.
I'm not sure if the desired approach is to immediately create a PR, or first discuss why I would like to add this change.
I copied the code from the biome configuration and adapted it.