and I noticed that some unrelated hints have the same name. For example "usePutStrLn" is used for replacing putStr (xs ++ "\n") but also for replacing hPutrStrLn stdout, which are pretty different and I suspect it is unintentional. There's a bunch of other ones like that too.
I was going through the list of hints:
https://github.com/ndmitchell/hlint/blob/master/hints.md
and I noticed that some unrelated hints have the same name. For example "usePutStrLn" is used for replacing
putStr (xs ++ "\n")
but also for replacinghPutrStrLn stdout
, which are pretty different and I suspect it is unintentional. There's a bunch of other ones like that too.