bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
274 stars 30 forks source link

Load configuration from `leptosfmt.toml` #11

Closed bram209 closed 1 year ago

rakshith-ravi commented 1 year ago

Mind if I take this up? Seems simple enough for me to get a start on the code-base

bram209 commented 1 year ago

Hi, that would be nice!

I think we can start small and serde with toml deserialization will suffice. We can use https://serde.rs/container-attrs.html#default attribute on the FormattingSettings and add a --config-file option to the CLI.

If you need anything, ask away!