mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:06:00 +02:00
hlint: add page (#3480)
This commit is contained in:
parent
ca08612958
commit
338541de6f
1 changed files with 24 additions and 0 deletions
24
pages/linux/hlint.md
Normal file
24
pages/linux/hlint.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# hlint
|
||||
|
||||
> Tool for suggesting 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}}`
|
Loading…
Add table
Reference in a new issue