Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Automatic fix request: module Path.To.File instead of module Main #776

Open
tankorsmash opened this issue Sep 26, 2022 · 0 comments
Open

Comments

@tankorsmash
Copy link

tankorsmash commented Sep 26, 2022

I love elm-format, and I'm wondering if it's possible to add one more auto-fix to it. I'm often exposing everything from my lamdera Types.elm file, and just deleting the exposing Types line and let elm-format add in the new exports for me. The trouble is that I'm always replacing Main to Types after.

Would it be possible for elm-format to use the current filename instead of Main when adding that exposing Main .. line? I'm sure the intention is just to help getting a blank Elm file compiling, so no worries if its not on the table!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant