1# HLint configuration file
2# https://github.com/ndmitchell/hlint
3##########################
5# Specify additional command line arguments
7- arguments: [--color=auto, --cpp-ansi]
9# Ignore some builtin hints
11- ignore: {name: "Avoid lambda"}
12- ignore: {name: "Eta reduce"}
13- ignore: {name: "Evaluate"}
14- ignore: {name: "Reduce duplication"} # TODO: could be more fine-grained
15- ignore: {name: "Use &&&"}
16- ignore: {name: "Use String"}
17- ignore: {name: "Use camelCase"}
18- ignore: {name: "Use fmap"} # specific for GHC 7.8 compat
19- ignore: {name: "Use isDigit"}
22 name: "Monad law, left identity"
23 within: Text.Pandoc.App.OutputSettings
26 name: "Move brackets to avoid $"
27 within: Text.Pandoc.Writers.CslJson
32 - Text.Pandoc.Readers.Docx.Parse
33 - Text.Pandoc.Writers.MediaWiki
34 - Text.Pandoc.Writers.OpenDocument
35 - Text.Pandoc.Writers.Powerpoint.Output
36 - Text.Pandoc.Writers.Powerpoint.Presentation
39 name: "Redundant return"
40 within: Text.Pandoc.Citeproc.BibTeX
42# With recent hlint this rule has given false positives on TH
44 name: "Redundant bracket"
50 - Text.Pandoc.Readers.LaTeX
51 - Text.Pandoc.Readers.Markdown
56 - Tests.Writers.Docbook
57 - Tests.Writers.Native
58 - Text.Pandoc.Citeproc
59 - Text.Pandoc.Extensions
60 - Text.Pandoc.Lua.Marshaling.Version
61 - Text.Pandoc.Lua.Module.Pandoc
62 - Text.Pandoc.Lua.Module.Utils
63 - Text.Pandoc.Readers.Odt.ContentReader
64 - Text.Pandoc.Readers.Odt.Namespaces
69 - Text.Pandoc.Readers.DocBook
74 - Text.Pandoc.Citeproc.MetaValue
75 - Text.Pandoc.Readers.Odt.ContentReader
76 - Text.Pandoc.Writers.Roff
79 name: "Use list comprehension"
80 within: Text.Pandoc.Citeproc.BibTeX
83 name: "Use list literal pattern"
84 within: Text.Pandoc.Citeproc.MetaValue
90 - Text.Pandoc.Citeproc.BibTeX
91 - Text.Pandoc.Citeproc.Locator
96 within: Text.Pandoc.Writers.OpenDocument
99 name: "Use tuple-section"
101 - Text.Pandoc.Readers.EPUB
102 - Text.Pandoc.ImageSize
103 - Text.Pandoc.Readers.Markdown
104 - Text.Pandoc.Readers.RST
106# fromRight is only in base >= 4.10
108 name: "Use fromRight"
110# Define some custom infix operators
111# - fixity: infixr 3 ~^#^~
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list