1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:42:07 +02:00
tldr/pages/linux/hlint.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

546 B

hlint

Suggest improvements to Haskell code. More information: http://hackage.haskell.org/package/hlint.

  • Display suggestions for a given file:

hlint {{path/to/file}} options

  • Check all Haskell files and generate a report:

hlint {{path/to/directory}} --report

  • Automatically apply most suggestions:

hlint {{path/to/file}} --refactor

  • Display additional options:

hlint {{path/to/file}} --refactor-options

  • Generate a settings file ignoring all outstanding hints:

hlint {{path/to/file}} --default > {{.hlint.yaml}}