mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 19:51:25 +00:00
Update cheatsheets
This commit is contained in:
29
linux/hlint
Normal file
29
linux/hlint
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user