1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-09-11 13:16:13 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Mark Karpov
6cf491c5ca Prioritize fixity overrides and module re-exports from command line 2024-02-01 21:31:13 +01:00
Mark Karpov
83509ebd1a Locate .ormolu file independently of .cabal files 2023-05-17 21:22:01 +02:00
Mark Karpov
8f2bc36705 Allow to specify module re-exports in .ormolu files
It turns out that gaining knowledge of all module re-exports in the
ecosystem is tricky because the Hoogle database does not contain this
information, so one would need to download all 14+k packages from Hackage
and parse their source code. We've decided that perhaps hardcoding some
common re-exports and otherwise giving the users a way to make Ormolu aware
of arbitrary important re-exports is a satisfactory solution for now.

Co-authored-by: amesgen <alexander.esgen@tweag.io>
2023-05-15 20:43:41 +02:00
Mark Karpov
badafc0452 Implement a more precise inference of fixity information 2023-04-24 14:39:33 +02:00
Alexander Esgen
4b0bcc2945 Flakeify
also drop Ormolu Live temporarily
2023-01-23 18:10:02 +01:00
Mark Karpov
4b5ba705d7 Introduce operator fixity configuration
Co-authored-by: amesgen <alexander.esgen@tweag.io>
2022-05-12 13:50:42 +02:00