git.iko.soy/typeable/pandoc
on rc/2.11.1.1 help sign in
typeable/pandoc/.hlint.yaml
108 lines 2.6 kB history raw
1# HLint configuration file
2# https://github.com/ndmitchell/hlint
3##########################
5# Specify additional command line arguments
6#
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 fmap"} # specific for GHC 7.8 compat
18- ignore: {name: "Use isDigit"}
20- ignore:
21 name: "Monad law, left identity"
22 within: Text.Pandoc.App.OutputSettings
24- ignore:
25 name: "Move brackets to avoid $"
26 within: Text.Pandoc.Writers.CslJson
28- ignore:
29 name: "Redundant <$>"
30 within:
31 - Text.Pandoc.Readers.Docx.Parse
32 - Text.Pandoc.Writers.MediaWiki
33 - Text.Pandoc.Writers.OpenDocument
34 - Text.Pandoc.Writers.Powerpoint.Output
35 - Text.Pandoc.Writers.Powerpoint.Presentation
37- ignore:
38 name: "Redundant return"
39 within: Text.Pandoc.Citeproc.BibTeX
41# TODO: check
42- ignore:
43 name: "Redundant bracket"
44 within:
45 - Text.Pandoc.Citeproc
46 - Text.Pandoc.Citeproc.BibTeX
47 - Text.Pandoc.Citeproc.MetaValue
49- ignore:
50 name: "Use <$>"
51 within:
52 - Text.Pandoc.Readers.LaTeX
53 - Text.Pandoc.Readers.Markdown
55- ignore:
56 name: "Use camelCase"
57 within:
58 - Tests.Writers.Docbook
59 - Tests.Writers.Native
60 - Text.Pandoc.Citeproc
61 - Text.Pandoc.Extensions
62 - Text.Pandoc.Lua.Marshaling.Version
63 - Text.Pandoc.Lua.Module.Utils
64 - Text.Pandoc.Readers.Odt.ContentReader
65 - Text.Pandoc.Readers.Odt.Namespaces
67- ignore:
68 name: "Use forM_"
69 within:
70 - Text.Pandoc.Readers.DocBook
72- ignore:
73 name: "Use Just"
74 within:
75 - Text.Pandoc.Citeproc.MetaValue
76 - Text.Pandoc.Readers.Odt.ContentReader
77 - Text.Pandoc.Writers.Roff
79- ignore:
80 name: "Use list comprehension"
81 within: Text.Pandoc.Citeproc.BibTeX
83- ignore:
84 name: "Use list literal pattern"
85 within: Text.Pandoc.Citeproc.MetaValue
87# TODO: check
88- ignore:
89 name: "Use second"
90 within:
91 - Text.Pandoc.Citeproc.BibTeX
92 - Text.Pandoc.Citeproc.Locator
94# TODO: check
95- ignore:
96 name: "Use sortOn"
97 within: Text.Pandoc.Writers.OpenDocument
99- ignore:
100 name: "Use tuple-section"
101 within:
102 - Text.Pandoc.Readers.EPUB
103 - Text.Pandoc.ImageSize
104 - Text.Pandoc.Readers.Markdown
105 - Text.Pandoc.Readers.RST
107# Define some custom infix operators
108# - fixity: infixr 3 ~^#^~