Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 3b38880

Browse files
authored
Merge pull request #1573 from jneira/hlint-data-docs
Mention hlint data file handling in readme
2 parents 92ac896 + 0bbe5b7 commit 3b38880

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ HIE builds from source code, so there's a couple of extra steps.
152152
* `stack` must be in your PATH
153153
* `git` must be in your PATH
154154
* Stack local bin directory must be in your PATH. Get it with `stack path --local-bin`
155+
* To make hlint suggestions work, `hie` must locate the [hlint configuration yaml file](https://raw.githubusercontent.com/ndmitchell/hlint/master/data/hlint.yaml). The file is searched in order in the following locations:
156+
* In the directory pointed by the environment variable `$HLINT_DATADIR`.
157+
* If hie was installed using stack or cabal, in a tool-specific internal installation directory.
158+
* And finally in a subdirectory named `data` inside the directory where the `hie` executable is.
155159

156160
Tip: you can quickly check if some command is in your path by running the command.
157161
If you receive some meaningful output instead of "command not found"-like message

0 commit comments

Comments
 (0)