snippetbashTip
hlint — Suggest improvements to Haskell code. More information: <https://hackage.haskell.org/package/hlint>.
Viewed 0 times
commandimprovementshlintclihaskellcodesuggestmore
linux
Problem
How to use the
hlint command: Suggest improvements to Haskell code. More information: <https://hackage.haskell.org/package/hlint>.Solution
hlint — Suggest improvements to Haskell code. More information: <https://hackage.haskell.org/package/hlint>.Display suggestions for a given file:
hlint {{path/to/file}} optionsCheck all Haskell files and generate a report:
hlint {{path/to/directory}} {{[-r|--report]}}Automatically apply most suggestions:
hlint {{path/to/file}} --refactorDisplay additional options:
hlint {{path/to/file}} --refactor-optionsGenerate a settings file ignoring all outstanding hints:
hlint {{path/to/file}} --default > {{.hlint.yaml}}Code Snippets
Display suggestions for a given file
hlint {{path/to/file}} optionsCheck all Haskell files and generate a report
hlint {{path/to/directory}} {{[-r|--report]}}Automatically apply most suggestions
hlint {{path/to/file}} --refactorDisplay additional options
hlint {{path/to/file}} --refactor-optionsGenerate a settings file ignoring all outstanding hints
hlint {{path/to/file}} --default > {{.hlint.yaml}}Context
tldr-pages: linux/hlint
Revisions (0)
No revisions yet.