mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
* Use restricted monad for plugins (#4057) * Renaming: PluginM -> HandlerM * Explain intent for HandlerM * Fix comment * Apply stylish-haskell |
||
---|---|---|
.. | ||
src/Ide/Plugin | ||
test | ||
.hlint.yaml | ||
README.md |
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 thehlint
executable to report a parse error on a file, but thehlint
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 thehlint
plugin.