Haskell-language-server: Document what is required to get HLint working

Created on 28 Jul 2020  路  5Comments  路  Source: haskell/haskell-language-server

A search of the repo suggests that HLint is supported. But on my sample project, it doesn't make any suggestions, even when I define the classic:

foo f g x = map f (map g x)

(That was the first hint HLint ever matched.) The docs don't mention HLint at all. It would be useful if the docs included a note that HLint exists, some way of testing it, and ideally some way of validating that it works.

Or maybe HLint isn't yet supported?

plugins

Most helpful comment

It wasn't being advertised - I just searched for HLint and found some configuration settings. I don't think there's any advertising removal that needs doing, but lets hope #166 is ready soon :)

All 5 comments

HLint is not supported yet, see the PR #166 to add it.

32 is the issue tracking the HLint plugin.

Where is hlint being advertised? We should probably take that down until it's actually merged. I can imagine it might be a leftover of code being copied over from HIE

It wasn't being advertised - I just searched for HLint and found some configuration settings. I don't think there's any advertising removal that needs doing, but lets hope #166 is ready soon :)

@ndmitchell i think we can close this one as we have the main issue and the ongoing pr will come soon (hopefully :smile:)

Was this page helpful?
0 / 5 - 0 ratings