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: "Use bimap"}
13- ignore: {name: "Eta reduce"}
14- ignore: {name: "Evaluate"}
15- ignore: {name: "Reduce duplication"} # TODO: could be more fine-grained
16- ignore: {name: "Use &&&"}
17- ignore: {name: "Use String"}
18- ignore: {name: "Use camelCase"}
19- ignore: {name: "Use fmap"} # specific for GHC 7.8 compat
20- ignore: {name: "Use isDigit"}
23 name: "Monad law, left identity"
24 within: Text.Pandoc.App.OutputSettings
27 name: "Move brackets to avoid $"
28 within: Text.Pandoc.Writers.CslJson
33 - Text.Pandoc.Readers.Docx.Parse
34 - Text.Pandoc.Writers.MediaWiki
35 - Text.Pandoc.Writers.OpenDocument
36 - Text.Pandoc.Writers.Powerpoint.Output
37 - Text.Pandoc.Writers.Powerpoint.Presentation
40 name: "Redundant return"
41 within: Text.Pandoc.Citeproc.BibTeX
43# With recent hlint this rule has given false positives on TH
45 name: "Redundant bracket"
51 - Text.Pandoc.Readers.LaTeX
52 - Text.Pandoc.Readers.Markdown
57 - Tests.Writers.Docbook
58 - Tests.Writers.Native
59 - Text.Pandoc.Citeproc
60 - Text.Pandoc.Extensions
61 - Text.Pandoc.Lua.Marshaling.Version
62 - Text.Pandoc.Lua.Module.Pandoc
63 - Text.Pandoc.Lua.Module.Utils
64 - Text.Pandoc.Readers.Odt.ContentReader
65 - Text.Pandoc.Readers.Odt.Namespaces
70 - Text.Pandoc.Readers.DocBook
75 - Text.Pandoc.Citeproc.MetaValue
76 - Text.Pandoc.Readers.Odt.ContentReader
77 - Text.Pandoc.Writers.Roff
80 name: "Use list comprehension"
81 within: Text.Pandoc.Citeproc.BibTeX
84 name: "Use list literal pattern"
85 within: Text.Pandoc.Citeproc.MetaValue
91 - Text.Pandoc.Citeproc.BibTeX
92 - Text.Pandoc.Citeproc.Locator
97 within: Text.Pandoc.Writers.OpenDocument
100 name: "Use tuple-section"
102 - Text.Pandoc.Readers.EPUB
103 - Text.Pandoc.ImageSize
104 - Text.Pandoc.Readers.Markdown
105 - Text.Pandoc.Readers.RST
107# fromRight is only in base >= 4.10
109 name: "Use fromRight"
111# Define some custom infix operators
112# - 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