haskell-language-server/plugins/hls-hlint-plugin
hololeap e09c00588b
hls-hlint-plugin: Update README.md (#3216)
Remove warning about hlint restrictions, as #1340 has been merged.

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2022-09-26 13:37:47 +01:00
..
src/Ide/Plugin Hlint: CodeAction with isPreferred (#3018) 2022-07-06 12:44:05 +01:00
test simplify hlint plugin Cabal descriptor (#2867) 2022-05-01 20:17:13 +00:00
.hlint.yaml Set up partial functions ratchet (#2974) 2022-06-24 10:46:35 +00:00
hls-hlint-plugin.cabal Add source-repository to all cabal files (#3219) 2022-09-24 02:50:25 +00:00
LICENSE Rename to hls-hlint-plugin 2020-10-28 07:36:26 +01:00
README.md hls-hlint-plugin: Update README.md (#3216) 2022-09-26 13:37:47 +01:00

HLint Plugin for the Haskell Language Server

Configuration

This is typically done through an HLint configuration file. You can also change the behavior of HLint by adding a list of flags to haskell.plugin.hlint.config.flags if your configuration is in a non-standard location or you want to change settings globally.

Known Differences from the hlint executable

  • The hlint executable by default turns on many extensions when parsing a file because it is not certain about the exact extensions that apply to the file (they may come from project files). This differs from HLS which uses only the extensions the file needs to parse the file. Hence it is possible for the hlint executable to report a parse error on a file, but the hlint plugin to work just fine on the same file. This does mean that the turning on/off of extensions in the hlint config may be ignored by the hlint plugin.