Nikolay Yakimov
44efb6e895
Fix HLint ignore
...
Closes #800
2016-07-15 16:58:42 +02:00
Nikolay Yakimov
66c8915ebd
Fix sporadic spaces in output on hlint parse error
...
For some reason, haskell-src-exts now adds space before
ints when pretty-printing source location (probably
an issue with Text.PrettyPrint)
This patch avoids using pretty printer altogether.
2016-05-16 11:41:48 +03:00
Nikolay Yakimov
5425a09666
[ #722 ] Get encoding from hlint options
2016-01-12 22:22:13 +03:00
Nikolay Yakimov
0a0cd8041e
Set file encoding to uft8 in Lint
...
Fixes #722
2016-01-12 21:33:20 +03:00
Nikolay Yakimov
dfa0e7e31e
Use new hlint API
2016-01-05 11:34:38 +03:00
Nikolay Yakimov
cdaf586941
Haddock documentation
2015-12-07 19:57:33 +03:00
Nikolay Yakimov
b2fb54a356
Fix tests, move option records to Types module
2015-12-06 00:56:19 +03:00
Nikolay Yakimov
ad16b739eb
Optparse-applicative
2015-12-05 23:55:12 +03:00
Daniel Gröber
41de8b8b2e
Sandwich new Monad layer GmOutT into transformer stack
...
This way we can have access to some options pre Cradle setup which
should fix the output interleaving problems I was observing.
2015-09-01 10:32:27 +02:00
Nikolay Yakimov
31020c4112
Move withMappedFile to Language.Haskell.GhcMod.Utils
2015-08-15 21:06:57 +03:00
Nikolay Yakimov
d405ce7efa
Make linting work with mapped files
2015-08-15 21:06:57 +03:00
Kazu Yamamoto
02ce2d4a1d
removing warnings.
2014-08-14 10:01:35 +09:00
Kazu Yamamoto
cffa7463eb
adopting hlint's suggestions.
2014-07-17 17:16:44 +09:00
Kazu Yamamoto
cf0df26560
Monad.hs is now exported by GhcMod.hs.
2014-07-17 14:30:42 +09:00
Kazu Yamamoto
1524d2a43e
removing warnings.
2014-07-15 12:10:18 +09:00
Daniel Gröber
f0bfcb8811
Use GhcModT everywhere and remove the GhcMod alias
...
Not doing this makes having GhcModT pretty pointless as users of the
library wouldn't be able to use custom inner monads as evey function for
dealing with GhcModT's would be constraint to (GhcModT IO) thus only
allowing IO as the inner monad.
2014-07-15 01:03:56 +02:00
Daniel Gröber
56ad1a3c8c
Control.Monad.Trans.MonadIO -> CoreMonad.MonadIO
...
they are different before ghc 7.8
2014-07-11 04:12:05 +02:00
Daniel Gröber
4b6a687bc1
Migrate the remaining parts of the exposed API to GhcMod a
2014-07-11 03:13:38 +02:00
Daniel Gröber
ebfb740a2e
Move convert
to it's own module.
2014-05-14 17:06:30 +02:00
Kazu Yamamoto
913fb72911
ErrMsg -> Logger.
2014-04-28 21:47:08 +09:00
Kazu Yamamoto
f50e5229c4
NG contains an error.
2014-04-25 11:08:29 +09:00
Kazu Yamamoto
8983cf2d88
lineSeparator are only used in toList/toPlain.
2014-04-21 15:58:36 +09:00
Kazu Yamamoto
3d03cff06b
refactoring for lineSeparator.
2014-04-21 14:58:25 +09:00
Kazu Yamamoto
b2c2d1a443
cleaning up APIs.
2014-04-21 14:04:58 +09:00
Kazu Yamamoto
841c721928
-l for lint.
2014-04-19 08:36:35 +09:00
Kazu Yamamoto
ab5e082e81
--quiet back ( #226 ).
2014-04-19 08:26:30 +09:00
Kazu Yamamoto
aecb9bc1e4
implementing suppressStdout/err.
2014-04-18 15:41:32 +09:00
satoshi-murakumo
0eadfa91fd
Fix windows tempfile handling
...
On Windows, `ghc-mod lint` fails with following message.
ghc-mod: DeleteFile "<Ommit>\\Temp\\ghc-mod-hlint8464": permission denied <Ommit>
Perhaps, On Windows, GHC opens file exclusively.
So, we move `removeFile` to `finally`.
2014-04-16 22:41:53 +09:00
Kazu Yamamoto
ff70313049
close import.
2014-03-27 15:56:14 +09:00
Kazu Yamamoto
4ad1c5e276
exporting lint.
2014-03-27 10:34:30 +09:00
Kohei Suzuki
44eff0dcc1
Suppress output of hlint
2014-03-21 21:40:02 +09:00
Kazu Yamamoto
1ae10600e7
hlint does not support --quiet anymore.
2014-03-13 11:09:55 +09:00
Kazu Yamamoto
ed5ac820d6
adding LineSeparator.
2013-09-03 14:40:51 +09:00
Kazu Yamamoto
089d490607
writing docs.
2013-05-20 14:28:56 +09:00
Kazu Yamamoto
bac4bbbcf3
Changing GHCMod as a library.
2013-05-17 10:00:01 +09:00