1

I tried to use hlint package, but it gives no warnings or configuration for:

  • trailing spaces
  • last empty line
  • spaces between arguments
  • restrict tab indentation
  • redundant lines

and other lint option stuff that relates to spaces/tabs and empty lines

I don't see how "Add new hint" can help me with this

melpomene
  • 84,125
  • 8
  • 85
  • 148
Roman M. Koss
  • 970
  • 1
  • 15
  • 33

1 Answers1

3

From https://github.com/ndmitchell/hlint/issues/522:

There is currently no support in HLint for issues which are about spacing or indentation. There are a few tools that deal with such concerns, search Haskell style checker for a few. I think HLint is probably better remaining free from whitespace concerns and letting other tools deal with them - I should probably link in the README to whatever the consensus is (I'm not sure)

Neil Mitchell
  • 9,090
  • 1
  • 27
  • 85