Open amitaibu opened 7 years ago
I have two high-level concerns with doing this:
What about working on getting a command added to hindent to format a whole project?
If I understand correctly hident is just a prettifier. That is, it doesn't deal at all with (re-)saving the files. Maybe we could add it as a stack
command -- but I haven't done it yet, so not sure about the complexity.
PR will add format files using
hindent
and will add a bash script to run it all on files.Currently the bash script needs to exclude
src/Settings.hs
due to a known bug.I've opened PR as work in progress, just to confirm it is a desired change. If so, I'll work on finalizing it.
The
.haskell-ghc-mod.json
is there to suppress errors in editors such as atom, that might get confused with multiple ghc installations.